MediaWiki:Gadget-HotCat.js: Unterschied zwischen den Versionen
(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)) |
|||
| Zeile 1: | Zeile 1: | ||
if (wgServer.indexOf ('https://') == 0) { | if ( wgServer.indexOf( 'https://' ) == 0 ) { | ||
importScriptURI( 'https://secure.wikimedia.org/wikipedia/commons/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' ); | |||
} else { | } else { | ||
importScriptURI( 'http://commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' ); | |||
} | } | ||
Version vom 14. November 2010, 18:10 Uhr
if ( wgServer.indexOf( 'https://' ) == 0 ) {
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' );
}