Difference between revisions of "MediaWiki:Common.js"

From EmuVR Wiki
Jump to: navigation, search
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. */
 
//testing123
 
//testing123
−
console.log(mw.loader);
+
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:TheDJ/ActualLivePreview.js&action=raw&ctype=text/javascript');

Revision as of 18:06, 29 October 2018

/* Any JavaScript here will be loaded for all users on every page load. */
//testing123
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:TheDJ/ActualLivePreview.js&action=raw&ctype=text/javascript');