MediaWiki:Gadget-HotCat.js: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
(Updated hotcat to pull directly off commons, it appears to be the standard way of doing it now (and means we stay up to date))
K (13 Versionen von mediawikiwiki:MediaWiki:Gadget-HotCat.js importiert)
 
(5 dazwischenliegende Versionen von 5 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
if (wgServer.indexOf ('https://') == 0) {
mw.loader.load( '//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' );
  importScriptURI ('https://secure.wikimedia.org/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');
}

Aktuelle Version vom 23. Februar 2023, 01:34 Uhr

mw.loader.load( '//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' );