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

Aus skandinavien-wiki.net
(→‎using [[mw:CodeEditor|CodeEditor]]: yay, https + protocol-relative enabled)
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&smaxage=21600&maxage=86400' );
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' );
}

Version vom 2. Oktober 2011, 02:58 Uhr

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