User:AngelinaBelle/vector.js: Difference between revisions From Online Manual

Jump to: navigation, search
No edit summary
No edit summary
Line 1: Line 1:
** importScript('MediaWiki:Gadget-HotCat.js');
// importScript('MediaWiki:Gadget-HotCat.js');


var hotcat_translations_from_commons = true;
var hotcat_translations_from_commons = true;

Revision as of 19:35, 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' );
}


Advertisement: