MediaWiki:Common.js: Difference between revisions
imported>Smallketchup82 No edit summary |
imported>Explodabat No edit summary |
||
Line 4: | Line 4: | ||
//Import the Navbox.js scripts for the navbox price/name sorting functionality | //Import the Navbox.js scripts for the navbox price/name sorting functionality | ||
mw.loader.load( '/index.php?title=MediaWiki:Navbox.js&action=raw&ctype=text/javascript' ); | //mw.loader.load( '/index.php?title=MediaWiki:Navbox.js&action=raw&ctype=text/javascript' ); |
Revision as of 03:46, 5 January 2022
/* Any JavaScript here will be loaded for all users on every page load. */ //Note that while loading content, appending "/wiki" or "/w" before the "/index..." statement may cause 404 errors or mime type mismatch errors (403) //Import the Navbox.js scripts for the navbox price/name sorting functionality //mw.loader.load( '/index.php?title=MediaWiki:Navbox.js&action=raw&ctype=text/javascript' );