Info-icon.png We have moved to https://openmodeldb.info/. This new site has a tag and search system, which will make finding the right models for you much easier! If you have any questions, ask here: https://discord.gg/cpAUpDK

Difference between revisions of "MediaWiki:Common.js"

From Upscale Wiki
Jump to navigation Jump to search
m (Protected "MediaWiki:Common.js" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
m
 
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.
 +
Try to keep scripts as specific as possible, and comment them where they were originally intended to be used.
 +
Using scripts in templates and then using the template is the safest way to use these overrides. */
  
  

Latest revision as of 19:02, 14 August 2019

/* Any JavaScript here will be loaded for all users on every page load.
Try to keep scripts as specific as possible, and comment them where they were originally intended to be used.
Using scripts in templates and then using the template is the safest way to use these overrides. */



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