MediaWiki:Common.js

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

window.UserTagsJS = { modules: {}, tags: { janitor: 'Janitor' bureaucrat: { order: 1 } } }; UserTagsJS.modules.custom = { 'Lee Everett': ['janitor'] 'KnowledgeProspector': ['bureaucrat'] }; UserTagsJS.modules.inactive = 30; UserTagsJS.modules.newuser = false; UserTagsJS.modules.autoconfirmed = false; UserTagsJS.modules.bureaucrat = true; // NOTE: bannedfromchat displays in Oasis but is not a user-identity group so must be checked manually UserTagsJS.modules.mwGroups = ['bureaucrat', 'chatmoderator', 'sysop', 'bannedfromchat', 'bot', 'bot-global']; UserTagsJS.modules.metafilter = { sysop: ['administrator', 'bureaucrat'], bureaucrat: ['founder', 'bureaucrat'], chatmoderator: ['sysop', 'bureaucrat'] }; importArticle({type:'script', article:'w:c:dev:UserTags/code.js'});