Difference between revisions of "MediaWiki:Common.js"

From Fall of Eden
Jump to navigation Jump to search
(Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: mw.loader.using('mediawiki.user', function() { if (mw.user.anonymous()) { mw.loader.load('...")
 
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. */
 
mw.loader.using('mediawiki.user', function() {
 
  if (mw.user.anonymous()) {
 
      mw.loader.load('ext.gadget.ageverify');
 
  }
 
}
 

Revision as of 04:36, 29 November 2014

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