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('...")
 
(Blanked the page)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* 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');
 
  }
 
}
 

Latest revision as of 19:54, 22 November 2016