MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */ /*DO NOT TOUCH THIS UNLESS YOU ARE CASTAWAY, IF YOU NEED SOMETHING LET HER KNOW Tysm ~ Ally */ importArticles({  type: "script",   articles: [       'w:c:dev:UserTags/code.js',   ] }); window.UserTagsJS = { modules: {}, tags: { Alli1: {u:'The Meme Queen'}, Alli2: {u:'Code Queen'}, Coders: {u:'Coder'}, Alli3: {u:'The Aesthetic'}, Gamers: {u:'Gamer'}, } }; UserTagsJS.modules.custom = { 'XXCastAwayXx': ['Alli1','Alli2','Coders','Alli3','Gamers'], }; /* Replaces with the name of the user browsing the page. Requires copying Template:USERNAME. */ $(function UserNameReplace {   if(typeof(disableUsernameReplace) != 'undefined' && disableUsernameReplace || wgUserName === null) return;    $("span.insertusername").html(wgUserName); }); /* End of the replacement */ // RevealAnonIP window.RevealAnonIP = { permissions: ['rollback', 'sysop', 'bureaucrat'] }; /* Auto updating recent changes opt-in * See w:c:dev:AjaxRC for info & attribution */ AjaxRCRefreshText = 'Auto-Refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; ajaxPages = ["Special:RecentChanges","Special:WikiActivity"]; importScriptPage('AjaxRC/code.js', 'dev');