MediaWiki:Gadget-HotCat.js: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
(Copied from Wikimedia, so that we can use [http://commons.wikimedia.org/wiki/Help:Gadget-HotCat#Installing_HotCat_on_another_Wiki%C2%A0%C2%A0 HotCat])
 
(No difference)

Latest revision as of 13:32, 27 June 2011

window.hotcat_translations_from_commons = true;

/*
 This imports the latest version of HotCat from Commons.
 HotCat is a gadget to make changes to categories much easier.
 Full documentation can be found at http://commons.wikimedia.org/wiki/Help:Gadget-HotCat
*/
if ( mw.config.get( 'wgServer' ).indexOf('https://') == 0 ) {
        mw.loader.load( 'https://secure.wikimedia.org/wikipedia/commons/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' );
} else {
        mw.loader.load( 'http://commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' );
}