(Created page with "importScript('MediaWiki:Gadget-HotCat.js');") |
No edit summary |
||
Line 1: | Line 1: | ||
importScript('MediaWiki:Gadget-HotCat.js'); | ** importScript('MediaWiki:Gadget-HotCat.js'); | ||
var hotcat_translations_from_commons = true; | |||
if( wgServer.indexOf( 'https://secure.wikimedia.org' ) == 0 ) { | |||
importScriptURI( '/wikipedia/commons/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' ); | |||
} else { | |||
importScriptURI( 'http://commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' ); | |||
} |
Revision as of 19:34, 10 January 2011
** importScript('MediaWiki:Gadget-HotCat.js'); var hotcat_translations_from_commons = true; if( wgServer.indexOf( 'https://secure.wikimedia.org' ) == 0 ) { importScriptURI( '/wikipedia/commons/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' ); } else { importScriptURI( 'http://commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' ); }