MediaWiki:Common.js/Usertags.js

// Usertags // Core configuration. We add 2 custom tags and change what the built-in sysop tag says. window.UserTagsJS = { modules: {}, tags: { technician: 'Technician', featured: 'Featured User', wasfeatured: 'Former Featured User' } }; // Add custom groups to several users UserTagsJS.modules.custom = { 'BLACK OUT': ['technician'], 'Guppie the Third': ['technician', 'wasfeatured'] 'Emeraldgreeny': ['featured'] }; UserTagsJS.modules.autoconfirmed = true; UserTagsJS.modules.newuser = true; UserTagsJS.modules.inactive = 30; // Inactive if no edits in 30 days UserTagsJS.modules.mwGroups = ['bureaucrat', 'chatmoderator', 'rollback']; // Add bureaucrat group to bureaucrats UserTagsJS.modules.metafilter = { sysop: ['bureaucrat'], // Remove administrator group from bureaucrats }; UserTagsJS.modules.userfilter = { 'John Smith': ['inactive'] // John Smith is never inactive, even when he is }; UserTagsJS.modules.implode = { 'bureaucrat': ['sysop', 'rollback', 'chatmoderator'] // Remove sysop, rollback and chatmoderator, if ALL 3 exist, and replace with 'bureaucrat' };

importArticle({type:'script', article:'w:c:dev:UserTags/code.js'});