MediaWiki:Gadget-Less.js: Difference between revisions

Jump to navigation Jump to search
update to local
No edit summary
(update to local)
Line 10: Line 10:
     'MediaWiki:Gadget-toplinksDropdown.css',
     'MediaWiki:Gadget-toplinksDropdown.css',
]
]


if ( window.lessTargets.includes( mw.config.get( 'wgPageName' ).replace(new RegExp('\.less$'),'.css' ) ) ) {
if ( window.lessTargets.includes( mw.config.get( 'wgPageName' ).replace(new RegExp('\.less$'),'.css' ) ) ) {
mw.loader.load( '//near-reality.wik/w/MediaWiki:Gadget-Less-core.js?action=raw&ctype=text/javascript' )
mw.loader.load( '//near-reality.wiki/w/MediaWiki:Gadget-Less-core.js?action=raw&ctype=text/javascript' )
}
}

Navigation menu