Changes

433 bytes added ,  11:56, 4 October 2022
add image map
/* Any JavaScript here will be loaded for all users on every page load. */

//load ImageMapEditor in Image namespace
if (mw.config.get('wgNamespaceNumber')==6 && mw.config.get('wgAction')=='view') {
mw.loader.load('/w/index.php?title=MediaWiki:ImageMapEditor.js&action=raw&ctype=text/javascript');
}
//load ImageMapHighlighter
mw.loader.load( '/w/index.php?title=MediaWiki:ImageMapHighlighter.js&action=raw&ctype=text/javascript' );