User talk:Salix alba/TDSkell.js: Difference between revisions

Content deleted Content added
done
Line 11:
</source>
:{{done}} thanks for that.--[[User:Salix alba|Salix]] ([[User talk:Salix alba|talk]]): 19:48, 28 July 2013 (UTC)
 
== URL for other wikis ==
 
Hi!
 
Could you use
var URL = mw.util.wikiScript();
instead of the enwiki URL in the line
var URL = "http://en.wikipedia.org/w/index.php";
This should make the script to work on other wikis as well...
 
If you do so, make sure you declare the module "mediawiki.util" as a dependency (with a [[mw:ResourceLoader/Default_modules#mediawiki.util|mw.loader.using]] call somewhere). [[User talk:Helder.wiki|Helder]] 12:22, 30 July 2013 (UTC)