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' a code or add something in. Thank you! --- */

/* - Imports - */ importArticles({   type:'script',    articles: [        'u:dev:UserTags/code.js',        'u:dev:MessageWallUserTags/code.js',        'MediaWiki:Common.js/minx.js',        'u:dev:LastEdited/code.js',        'u:dev:AjaxRC/code.js',    ] }); /* --/-- Imports --/-- */

/* - 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 ");

/* Reveal Anon IP */ // License: CC-BY-SA - http://creativecommons.org/licenses/by-sa/3.0/ window.RevealAnonIP = { permissions : ['bureaucrat', 'sysop', 'rollback', 'threadmoderator', 'helper', 'util', 'staff'] };

/* Custom Banner User Tags */ window.UserTagsJS = { modules: {}, tags: { bureaucrat: {u:'Bureaucrat'}, founder: {u:'Founder'}, sysop: {u:'Administrator'}, chatmoderator: {u:'Chat Moderator'}, rollback: {u:'Rollback'}, threadmoderator: {u:'Moderator'}, coder: {u:'Wiki Coder'}, sic: {u:'Second in Command'}, owner: {u: 'Owner'}, } };

UserTagsJS.modules.custom = { 'The Haze3645' : ['owner', 'coder'], 'The Great Avv' : ['sic'], 'TheSecondEdgeOfTheBlade' : ['coder'], }

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

UserTagsJS.modules.metafilter = { bureaucrat: ['founder'], sysop: ['bureaucrat', 'founder'], chatmoderator: ['sysop', 'bureaucrat'], rollback: ['sysop', 'bureaucrat'], threadmoderator: ['sysop', 'bureaucrat'], newuser: ['chatmoderator', 'bannedfromchat', 'newuser'] }; /* 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 Haze3645': 'Owner', 'The Great Avv': 'Second-in-Command', 'T42': 'Bureaucrat', 'Lunaicus' : 'Bureaucrat', 'Ethan Conley' : 'Admin', 'Djracem' : 'Admin', 'SquidFairy' : 'Admin', 'TheSecondEdgeOfTheBlade' : 'Wiki Coder', 'Golden Forge' : 'Moderator', 'HolyTraitor' : 'Moderator', 'UrbanPie The Unpieing' : 'Chat Mod', 'TheZombeh' : 'Chat Mod', 'Dove of Death' : 'Chat Mod' } }; /* --/-- Staff Stuff --/-- */