User:Electric Cricket/common.js

// Configure user tags window.UserTagsJS = { modules: {}, tags: { sysop: { link:'Project:Administrators' }, bureaucrat: { link:'Project:Administrators' }, moderator: { u: 'Moderator', link:'Project:Staff#Moderators' }, bot: { u: 'Bot', link:'Help:Bots' }, 'bot-global': { u: 'Wikia Bot' }, 'inactive-bureaucrat': { u: 'Inactive bureaucrat' }, 'inactive-administrator': { u: 'Inactive administrator' }, 'inactive-moderator': { u: 'Inactive moderator' } } }; UserTagsJS.modules.autoconfirmed = false; UserTagsJS.modules.newuser = false; UserTagsJS.modules.inactive = 60; // Inactive if no edits in 60 days UserTagsJS.modules.mwGroups = ['bureaucrat', 'chatmoderator', 'patroller', 'rollback', 'sysop', 'bannedfromchat', 'bot', 'bot-global']; // Add user tag to users in that group UserTagsJS.modules.metafilter = { sysop: ['bureaucrat'] // Remove administrator group from bureaucrats }; UserTagsJS.modules.implode = { 'moderator': ['rollback', 'chatmoderator'], // Remove rollback and chatmoderator and replace with 'moderator' 'inactive-bureaucrat': ['bureaucrat', 'sysop', 'inactive'], 'inactive-administrator': ['sysop', 'inactive'], 'inactive-moderator': ['moderator', 'inactive'] }; importArticle({type:'script', article:'w:c:dev:UserTags/code.js'});