Bureaucrats, Check users, Interface administrators, Push subscription managers, Suppressors, Administrators, upwizcampeditors
1,713
edits
No edit summary |
(stop loading from vector.js, load from a module instead so that it is activated before page is loaded/rendered) |
||
Line 1: | Line 1: | ||
/* All JavaScript here will be loaded for users of the Vector skin */ | /* All JavaScript here will be loaded for users of the Vector skin */ | ||
mw.loader.getScript( '/index.php?title=MediaWiki:Dark.css&action=raw&ctype=text/css', 'text/css' ).then( // -> Load custom dark css styling first | /*mw.loader.getScript( '/index.php?title=MediaWiki:Dark.css&action=raw&ctype=text/css', 'text/css' ).then( // -> Load custom dark css styling first | ||
function () { | function () { | ||
console.log("Custom CSS Styling loaded!") | console.log("Custom CSS Styling loaded!") | ||
Line 22: | Line 22: | ||
console.error( e.message ); | console.error( e.message ); | ||
} | } | ||
) * | ) * | ||
}, | }, | ||
function ( e ) { | function ( e ) { | ||
Line 28: | Line 28: | ||
} | } | ||
) | ) | ||
*/ |
edits