MediaWiki:Gadget-Less.js: Difference between revisions

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' )
}
}