MediaWiki:Gadget-HotCat.js

var hotcat_translations_from_commons = true;

if( wgServer.indexOf( 'https://secure.wikimedia.org' ) == 0 ) { importScriptURI( wgScript + '?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' ); }