MediaWiki:Gadget-HotCat.js: Porovnání verzí

Z WikiKnihovna
Přejít na: navigace, hledání
(Založena nová stránka: if (wgServer.indexOf ('https://') == 0) { importScriptURI ('https://secure.wikimedia.org/wikipedia/commons/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=t...)
 
 
Řádek 1: Řádek 1:
if (wgServer.indexOf ('https://') == 0) {
+
window.hotcat_translations_from_commons = true;
  importScriptURI ('https://secure.wikimedia.org/wikipedia/commons/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript');
 
} else {
 
  importScriptURI ('//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript');
 
}
 
  
var hotcat_suggestions_fixed = 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
 +
*/
 +
mw.loader.load( '//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' );

Aktuální verze z 27. 2. 2012, 00:04

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
*/
mw.loader.load( '//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' );