Difference between revisions of "MediaWiki:Common.js"

From Upscale Wiki
Jump to navigation Jump to search
(Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: →‎ImageMap Editor Link: if (mw.config.get('wgNamespaceNumber')==6 && mw.config.get('wgAction')...")
 
m (Protected "MediaWiki:Common.js" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(No difference)

Revision as of 19:01, 14 August 2019

/* Any JavaScript here will be loaded for all users on every page load. */



/* ImageMap Editor Link */
if (mw.config.get('wgNamespaceNumber')==6 && mw.config.get('wgAction')=='view') {
	mw.loader.load('//tools.wmflabs.org/imagemapedit/ime.js');
}