MediaWiki:Common.js

window.UserTagsJS = { modules: {}, tags: { // groupname: { u:'Displayname', link:'TOS-Page', order:number } // status blocked: {u:'jailed', order:-1/0}, inactive: {u:'in Graveyard', order:-1/0}, townieofthemonth: { u:'Townie of the Month', order:-1 }, notautoconfirmed: { u:'Amnesiac', order:0 }, // ranks founder: { u:'Host', link:'Town of Salem Wiki Staff', order:-1 }, bureaucrat: { u:'Mayor', link:'Town of Salem Wiki Staff', order:0 }, sysop: { u:'Jailor', link:'Town of Salem Wiki Staff', order:0 }, threadmoderator: { u:'Bodyguard', link:'Town of Salem Wiki Staff', order:0 }, chatmoderator: { u:'Spy', link:'Town of Salem Wiki Staff', order:0 }, rollback: { u:'Retributionist', link:'Town of Salem Wiki Staff', order:0 }, autoconfirmed: { u:'Confirmed Townie', order:0 }, // suspicious people bannedfromchat: { u:'blackmailed', order:-1}, jester: { u:'Jester', order:-1 }, forger: { u:'Forger', order:-1 }, serialkiller: { u:'Serial Killer', order:-1 }, executioner: { u:'Executioner', order:-1 }, arsonist: { u:'Arsonist', order:-1 } },	oasisPlaceBefore: '' };

UserTagsJS.modules.custom = { 'ProfessorArceus': ['townieofthemonth'] // Add Townie of the Month };

UserTagsJS.modules.mwGroups = [ // ability to CSS these tags 'townieofthemonth', 'autoconfirmed', 'notautoconfirmed', 'inactive','blocked', 'founder', 'bureaucrat', 'sysop', 'threadmoderator', 'chatmoderator', 'rollback', 'bannedfromchat', 'jester', 'forger', 'serialkiller', 'executioner', 'arsonist']; UserTagsJS.modules.metafilter = { // Remove lower-rank tags from higher-rank users 'sysop': ['bureaucrat', 'founder'], 'threadmoderator': ['sysop', 'bureaucrat', 'founder'], 'chatmoderator': ['threadmoderator', 'sysop', 'bureaucrat', 'founder'], 'rollback': ['chatmoderator', 'threadmoderator', 'sysop', 'bureaucrat', 'founder'], 'autoconfirmed': ['townieofthemonth', 'rollback', 'chatmoderator', 'threadmoderator', 'sysop', 'bureaucrat', 'founder'], };

UserTagsJS.modules.newuser = { days: 2, // Must have been on the Wiki for 2 days edits: 2, // And have at least 2 edits to remove the tag namespace: 0 // Edits must be made to articles to count };

importArticles({   type: "script",    articles: [         "w:c:dev:RevealAnonIP/code.js",         "w:dev:ShowHide/code.js", /* Show and Hide code by tables */         "w:dev:BackToTopButton/code.js", /* Back to top button */         "w:dev:Countdown/code.js", /* Countdown timers on the wiki */         "w:dev:DupImageList/code.js", /* Duplicate images */         "w:dev:SearchGoButton/code.js", /* Search go button */         "w:c:dev:UserTags/code.js", /* Custom user tags */         "w:dev:AutoEditDropdown/code.js", /* Auto edit dropdown */         "w:dev:Standard Edit Summary/code.js", /*Standard edit summary */         "w:dev:FixMultipleUpload/code.js", /* Fixes the broken Edit Tools template on Special:MultipleUpload */         "w:dev:WallGreetingButton/code.js", /* Adds a button to Message Wall pages that allows a user to easily edit their wall greeting */         "w:dev:FileUsageAuto-update/code.js", /* Automatically updates file links throughout the wiki upon renaming */ "MediaWiki:Common.js/Imports.js", /* Auto-refresh, Inactive users, AdvancedOasis, Anons */ "MediaWiki:Common.js/blocklock.js", /* Lock blogs that haven't been commented on for more than 30 days */ "w:dev:ExternalImageLoader/code.js", /* Allows usage of ExternalImageLoader */ ] });