Wikipedia:Igloo/gloo.js: Difference between revisions

Content deleted Content added
re-add the source tags
maintenance: more info Uncaught TypeError: Cannot read property 'childNodes' of undefined on Monobook skin
 
(7 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("https://raw.github.com/Kangaroopower/Igloo/master/gloo.js", "text/javascript");
mw.loader.load("//tools.wmflabs.org/igloo/code/Igloo/gloo.js");
//</source>
} else {
mw.log.error('Igloo is currently not supported on your skin.');
}
//</syntaxhighlight>