Changes

From BrineRIS Dataspace
331 bytes added ,  10:49, 29 March 2023
show mw-slot-wrapper-header / footer in namespaces different from Main
Line 7: Line 7:  
//load ImageMapHighlighter
 
//load ImageMapHighlighter
 
mw.loader.load( '/w/index.php?title=MediaWiki:ImageMapHighlighter.js&action=raw&ctype=text/javascript' );
 
mw.loader.load( '/w/index.php?title=MediaWiki:ImageMapHighlighter.js&action=raw&ctype=text/javascript' );
 +
 +
if (mw.config.get('wgNamespaceNumber')!==0) {
 +
$("#mw-slot-wrapper-header").attr("style", "display: revert"); /* hidden in MediaWiki:Common.css, show in namespaces different from Main */
 +
$("#mw-slot-wrapper-footer").attr("style", "display: revert"); /* hidden in MediaWiki:Common.css, show in namespaces different from Main */
 +
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.