MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */ /* 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").text(wgUserName); }); /* End of the replacement */ /* Discord Configuration */ if(mw.config.get('wgUserName')) { window.DiscordIntegratorConfig = { siderail: { title: "Discord Server", id: "413239851060559885" }   }; } /* UserTagsJS */ window.UserTagsJS = { modules: {}, tags: { // group: { associated tag data } montheditor: { u:'Editor of the Month' }, featured: { u:'Featured' }, templates: { u:'Templates Guru' } } } /*RailWAM*/ window.railWAM = { logPage:"Project:WAM Log" }; /*ThreadIndicator*/ importArticles({   type: "script",    articles: [        "u:dev:MediaWiki:ThreadIndicator/code.js"    ] });