MediaWiki:Tags.js

///////////////////////////////////////////////////////////////////////// /******************** Anon Tags | By KockaAdmiralac ********************/ ///////////////////////////////////////////////////////////////////////// (function {   var $masthead = $('#UserProfileMasthead');    if (!$masthead.exists) {        return;    }    var $info = $masthead.find('.masthead-info hgroup'),        username = $info.find('h1').text;    if (mw.util.isIPv4Address(username) || mw.util.isIPv6Address(username)) {        var $tag = $info.find('.tag');        if ($tag.exists) {            var blocked = $tag.remove.text;            $info.append( $(' ', {'class': 'tag-container'}).append(                   $('', { href: mw.util.getUrl('Help:Blocking'), text: Blocked, 'class': 'tag usergroup-blocked blocked-user' })               )            );        }    } });//End AT*/

///////////////////////////////////////////////////////////////////////// /****************************** User Tags ******************************/ ///////////////////////////////////////////////////////////////////////// /* Tag Creation */ window.UserTagsJS = { modules: {}, tags: { /** Global FANDOM Groups **/ staff: { link: 'Help:Staff' }, helper: { link: 'Help:Volunteers_and_Helpers#Helpers' }, vstf: { link: 'Help:VSTF' }, 'global-discussions-moderator': { link: 'Project:Global_Discussions_Moderator' }, voldev: { link: 'Help:Volunteer_Developers' }, vanguard: { link: 'Help:Vanguard' }, council: { link: 'Project:Council' }, 'content-volunteer': { link: 'w:c:community:Thread:1401657' }, authenticated: { link: 'w:c:community:Help:User_rights#Authenticated' }, 'bot-global': { link: 'w:c:community:Help:Bots' },

/** Fully Automated **/ autoconfirmed: { u: 'Verified', order: 925, link: 'Project:Tags' }, inactive: { order: 500, link: 'Project:Tags' }, newuser: { u: 'Newb', order: 950, link: 'Project:Tags' }, nonuser: { u: 'Non-User', order: 975, link: 'Project:Tags' }, notautoconfirmed: { u: 'Unverified', order: 1000, link: 'Project:Tags' },

/** Externally Dependent **/ blocked: { order: 100, link: 'Help:Blocking' }, bannedfromchat: { order: 875, link: 'Project:Chat' }, 'check-user': { link: 'Help:CheckUser' }, bot: { order: 400, link: 'Project:Bots' }, rot: { u: 'Rogue Bot', order: 350, link: 'Project:Bots' }, bureaucrat: { u: 'Senior Admin', order: 475, link: 'Project:Staff' }, 'content-moderator': { u: 'Intern', order: 625, link: 'Project:Staff' }, threadmoderator: { u: 'Intern', order: 650, link: 'Project:Internships' }, chatmoderator: { u: 'Intern', order: 675, link: 'Project:Internships' }, rollback: { u: 'Code Admin', order: 600, link: 'Project:Staff' },

/** Semi-Internally Dependent **/ com: { u: 'Community Admin', order: 525, link: 'Project:Staff' }, mod: { u: 'Moderator', order: 550, link: 'Project:Staff' }, sen: { u: 'Sentinel', order: 575, link: 'Project:Staff' },

/** Internally Dependent **/ founder: { order: 450, link: 'Help:Founders' }, st: { u: 'Staff Trigger Error — See Ursuul', order: 200 }, sa: { u: 'Staff Artist', order: 760, link: 'Project:Tags' }, em: { u: 'Editor of the Month', order: 720, link: 'Diepio_Wikia' }, vip: { u: 'VIP', order: 780, link: 'Project:Tags' }, hi: { u: 'On Hiatus', order: 750, link: 'Project:Tags' } }, };//End TC*/

/* Functionality Modules */ UserTagsJS.modules.inactive = 7; UserTagsJS.modules.nonuser = true; UserTagsJS.modules.isblocked = true; UserTagsJS.modules.stopblocked = false; UserTagsJS.modules.autoconfirmed = true; UserTagsJS.modules.newuser = { days: 14, edits: 10, namespace: 0 }; UserTagsJS.modules.mwGroups = ['blocked', 'bannedfromchat', 'staff', 'helper', 'vstf', 'global-discussions-moderator', 'voldev', 'vanguard', 'council', 'content-volunteer', 'authenticated', 'bot-global', 'bot', 'checkuser', 'founder', 'bureaucrat', 'sysop', 'content-moderator', 'threadmoderator', 'chatmoderator', 'rollback', 'autoconfirmed'];//End FM*/

/* Custom Tags */ UserTagsJS.modules.custom = { /** Staff Ranks **/ 'Banarama': ['st'], 'DroneDestroyer': ['st', 'em'],//EotM 'Diepmon': ['st', 'hi'],//Hiatus 'GellyPop': ['st', 'sa'], 'MrMewshmallow': ['founder'],//ST exempt 'Nobellion': ['st'], 'Teamerz': ['st'], 'The Tidal Wave': ['st'], 'TheGoldenPatrik1': ['st'], 'Type: Sparky': ['st'], 'Ursuul': ['st', 'vip'],//Spanish Sysop 'Utkar22': ['st', 'hi'],//Hiatus 'Zathsu': ['st'],

/** Miscellaneous VIPs **/ 'Colouratura': ['vip'], 'Eizen': ['vip'],//Script developer 'FallenBooster': ['vip'],//Arras Co-Developer

/** Youtuber VIPs **/ 'Adasba': ['vip'], 'Gabidou99': ['vip'],

/** Foreign Language Diep.io VIPs **/ 'PerlaSweety8': ['vip'],//Spanish Founder 'PolarSalvaje': ['vip'],//Spanish Bureaucrat 'The0warrier': ['vip'],//Chinese Founder 'Zollo757347': ['vip'],//Chinese Bureaucrat '123YA': ['vip'],//Chinese Sysop 'AC0xRPFS001': ['vip']//Chinese Sysop };//End CT*/

/* Meta Filter */ UserTagsJS.modules.metafilter = { /** Fully Automated **/ inactive: ['blocked', 'bannedfromchat', 'staff', 'helper', 'vstf', 'global-discussions-moderator', 'voldev', 'vanguard', 'council', 'content-volunteer', 'authenticated', 'bot-global', 'bot', 'founder', 'bureaucrat', 'em', 'newuser', 'notautoconfirmed', 'nonuser', 'hi'], autoconfirmed: ['blocked', 'bannedfromchat', 'staff', 'helper', 'vstf', 'global-discussions-moderator', 'voldev', 'vanguard', 'council', 'content-volunteer', 'authenticated', 'bot-global', 'bot', 'founder', 'st', 'sa', 'vip', 'ef', 'em', 'threadmoderator', 'chatmoderator', 'rollback', 'nonuser', 'newuser', 'inactive', 'sysop'], newuser: ['blocked', 'bannedfromchat', 'staff', 'helper', 'vstf', 'global-discussions-moderator', 'voldev', 'vanguard', 'council', 'content-volunteer', 'authenticated', 'bot-global', 'bot', 'founder', 'vip', 'nonuser', 'notautoconfirmed', 'rollback', 'chatmoderator', 'threadmoderator', 'sysop'], nonuser: ['blocked', 'bannedfromchat', 'staff', 'helper', 'vstf', 'global-discussions-moderator', 'voldev', 'vanguard', 'council', 'content-volunteer', 'authenticated', 'bot-global', 'bot', 'founder', 'vip', 'notautoconfirmed', 'threadmoderator', 'sysop'], notautoconfirmed: ['blocked', 'bannedfromchat', 'staff', 'helper', 'vstf', 'global-discussions-moderator', 'voldev', 'vanguard', 'council', 'content-volunteer', 'authenticated', 'bot-global', 'bot', 'vip', 'sysop'],

/** Externally Dependent **/ bot: ['staff', 'helper', 'vstf', 'bot-global', 'founder', 'st', 'vip'], bureaucrat: ['hi'], sysop: ['blocked', 'sysop'], 'content-moderator': ['blocked', 'bot', 'hi'], threadmoderator: ['blocked', 'bot', 'hi', 'content-moderator'], chatmoderator: ['blocked', 'bot', 'hi', 'threadmoderator', 'sysop'],//Sole-sysop bug fix rollback: ['blocked', 'bot', 'bureaucrat', 'hi'], blocked: ['bureaucrat'], bannedfromchat: ['blocked', 'bot', 'founder', 'bureaucrat', 'st', 'rollback'],

/** Semi-Internally Dependent **/ com: ['blocked', 'bureaucrat', 'hi'], mod: ['blocked', 'bureaucrat', 'com', 'hi'], sen: ['blocked', 'bureaucrat', 'com', 'hi'],

/** Internally Dependent **/ founder: ['blocked'], st: ['blocked', 'st'], sa: ['blocked'], em: ['blocked'], vip: ['blocked', 'bureaucrat', 'sysop', 'content-moderator', 'threadmoderator', 'chatmoderator', 'rollback', 'em'], hi: ['blocked'] };//End MF*/

/* Implode */ UserTagsJS.modules.implode = { 'rot': ['blocked', 'bot'], 'com': ['st', 'content-moderator'], 'mod': ['st', 'threadmoderator'], 'sen': ['st', 'chatmoderator'] };//End Implode*/