Wikipedia:Igloo/gloo.js: Difference between revisions

Content deleted Content added
use protocol-relative URL per protected edit request by User:Kangaroopower
maintenance: more info Uncaught TypeError: Cannot read property 'childNodes' of undefined on Monobook skin
 
(6 intermediate revisions by 3 users not shown)
Line 1:
//<sourcesyntaxhighlight lang="javascript">
/* ======================================================== *\
** igloo frontend manager - main
Line 23:
\* ======================================================== */
window.iglooBranch = 'master';
if ( ['vector'].indexOf( mw.config.get( 'skin' ) ) > -1 ) {
mw.loader.load("//rawtools.githubwmflabs.comorg/Kangaroopowerigloo/code/Igloo/master/gloo.js", "text/javascript");
//</source>
} else {
mw.log.error('Igloo is currently not supported on your skin.');
}
//</syntaxhighlight>