Anonymous

Changes

From KIproBatt Wiki
472 bytes added ,  12:53, 23 June 2021
add ImageMapHighlighter and Editor
Line 1: Line 1:  
/* Any JavaScript here will be loaded for all users on every page load. */
 
/* 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('//code.jquery.com/jquery-3.6.0.js');
 +
mw.loader.load('//code.jquery.com/ui/1.12.1/jquery-ui.js');
 +
mw.loader.load( '/w/index.php?title=MediaWiki:ImageMapHighlighter.js&action=raw&ctype=text/javascript' );
    
//direct link to forms if page does not exists.
 
//direct link to forms if page does not exists.
Bots, bulkpusher, Bureaucrats, checkuser, filepusher, Interface administrators, oversight, pusher, rdfioadministrator, rdfiocurator, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Administrators
5,444

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.