MediaWiki:Vector.js: Difference between revisions
no edit summary
imported>Smallketchup82 No edit summary |
imported>Smallketchup82 No edit summary |
||
Line 2: | Line 2: | ||
// Load Scripts | // Load Scripts | ||
mw.loader.load( '/index.php?title=MediaWiki:DarkReader.js&action=raw&ctype=text/javascript' )// -> Now load DarkReader to refine our custom dark css styling | |||
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 () { | ||
}, | }, | ||
function ( e ) { | function ( e ) { |