MediaWiki:Common.js

/* --- Please remember that JS is VERY EASY TO BREAK. Do NOT  --- */ /* --- edit JS without letting Haze/Second know, even if it's --- */ /* --- just to 'fix' some code or add something in. Thank you! --- */

/* - General Stuff - */ /* Auto-Refresh */ window.ajaxPages = ["Special:NewFiles","Blog:Recent posts","Special:WikiActivity","Special:RecentChanges","Special:Watchlist","Special:Log","Special:Contributions"]; window.AjaxRCRefreshText = 'Auto-Refresh'; window.AjaxRCRefreshHoverText = 'Automatically refresh the page';

/* WikiaPage Digital Clock */ window.DisplayClockJS = '%2I:%2M:%2S %p %2d %{January;February;March;April;May;June;July;August;September;October;November;December}m %Y (CST)'; /* --/-- General Stuff --/-- */

/* - Staff Stuff - */ /* Admin Dashboard: Javascript Shortcut */ var editURL; $("#AdminDashboardGeneral .control-section.wiki .controls").prepend("JavaScript ");

/* Custom Banner User Tags */ window.UserTagsJS = { modules: {}, tags: { bureaucrat: {u:'Bureaucrat'}, founder: {u:'Founder'}, sysop: {u:'Administrator'}, content: {u:'Content Moderator'}, threadmoderator: {u:'Discussions Moderator'}, chatmoderator: {u:'Chat Moderator'}, rollback: {u:'Rollback'}, coder: {u:'Wiki Coder'}, hoc: {u:'Head of Command'}, sic: {u:'Second in Command'}, temp: {u:'Temporary Moderator'}, fab: {u:'Fabulous'}, awe: {u: 'Awesome'}, lost: {u: 'Lost Marbles'}, high: {u: 'Its High Noon'}, wenis: {u: 'Wenis'}, } };

UserTagsJS.modules.custom = { 'The Haze3456' : ['hoc', 'coder', 'fab'], 'SquidFairy' : ['sic', 'high'], 'TheSecondEdgeOfTheBlade' : ['coder', 'lost'], /*'The Great Avv' : [''],*/ 'The Zombeh' : ['content'], /*'The Royal Keen' : [''],*/ /*'Lily Puff' : [''],*/ /*'UrbanPie The Unpieing' : [''],*/ /*'ThatFNaTISuit' : [''],*/ /*'Rakgnarok' : [''],*/ 'Djracem' : ['awe'], 'HyperSnowpoxia' : ['wenis'], };

UserTagsJS.modules.mwGroups = [ 'bureaucrat', 'moderator', 'chatmoderator', 'patroller', 'rollback', 'sysop', 'bannedfromchat', 'bot', 'bot-global', 'newuser' ];

UserTagsJS.modules.metafilter = { bureaucrat: ['founder', 'hoc', 'sic'], sysop: ['bureaucrat', 'founder', 'owner'], content: ['temp', 'sysop', 'bureaucrat'], threadmoderator: ['temp', 'sysop', 'bureaucrat', 'content'], chatmoderator: ['temp', 'sysop', 'bureaucrat', 'threadmoderator', 'content'], rollback: ['sysop', 'bureaucrat'], newuser: ['chatmoderator', 'bannedfromchat'] }; /* this one: ['is overridden', 'by these'] */

UserTagsJS.modules.autoconfirmed = false; UserTagsJS.modules.isblocked = true; UserTagsJS.modules.inactive = 30; // 30 days UserTagsJS.modules.newuser = false; UserTagsJS.modules.userfilter = { };

/* Message Wall User Tags */ window.MessageWallUserTags = { tagColor: 'GhostWhite', glow: true, glowSize: '22px', glowColor: 'GhostWhite', users: { 'The Haze3456' : 'Head of Command', 'SquidFairy' : 'Second in Command', 'The Great Avv': 'Administrator', 'TheSecondEdgeOfTheBlade': 'Wiki Coder', 'TheZombeh' : 'Content Mod', 'The Royal Keen' : 'Discussions Mod', 'Lily Puff' : 'Discussions Mod', 'UrbanPie The Unpieing' : 'Chat Mod', 'ThatFNaTISuit' : 'Chat Mod', 'Rakgnarok' : 'Chat Mod', } }; /* --/-- Staff Stuff --/-- */