MediaWiki:Common.js

// Core configuration. We add 2 custom tags and change what the built-in sysop tag says. window.UserTagsJS = { modules: {}, tags: { hello: { m: 'Male', f:'Female', u: 'No Gender Set', order: -1/0, link:'http://en.wikipedia.org/wiki/Gender' }, muckraker: 'Muckraker', sysop: { u:'Addermin', link:'Project:Administrators' }, // Change "Administrator" to "Addermin" 'mini-sysop': { u: 'Half Administrator', link:'Project:HalfAdmins' }, 'vandal-patrol': { u: 'Spamdal Janitor', link:'Project:Janitors' } } }; // Add custom groups to several users UserTagsJS.modules.custom = { '': ['muckraker', 'hello'], 'BalutDevourer': ['Goner'], 'Minnesotan Mapping': ['Master'], 'The geracruzcolusa': ['Sysop', 'Advanced'] }; UserTagsJS.modules.autoconfirmed = true; UserTagsJS.modules.newuser = true; UserTagsJS.modules.inactive = 100; // Inactive if no edits in 35 days UserTagsJS.modules.mwGroups = ['Advanced']; // Add bureaucrat group to bureaucrats UserTagsJS.modules.metafilter = { sysop: ['bureaucrat'], // Remove administrator group from bureaucrats hello: ['muckraker'], // Remove hello group from people with muckraker group 'vandal-patrol': ['Intermediate'] // Remove vandal-patrol from mini-sysops }; UserTagsJS.modules.userfilter = { 'John Smith': ['inactive'] // John Smith is never inactive, even when he is }; UserTagsJS.modules.implode = { 'mini-sysop': ['patroller', 'rollback', 'chatmoderator'] // Remove patroller, rollback and chatmoderator, if ALL 3 exist, and replace with 'mini-sysop' }; UserTagsJS.modules.explode = { 'vandal-patrol': ['patroller', 'rollback'] // Add 'vandal-patrol' to everyone who has BOTH patroller and rollback };

/* This is CSS .tag.usergroup-jshelper { background-color: #720 !important; } .tag.usergroup-csshelper { background-color: green !important; } .tag.usergroup-templatehelper { background-color: yellow !important; color: black !important; }