MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */ /* Breaks VERY easily; DO NOT edit before telling User:TheAquuaHybrid. */ /* This code was put together with various snippets of code from w:c:dev, or the Dev Wiki! */

var MessageBlock = { title : 'Blocked.', message : 'This user has been blocked for $2 for the following offence(s): "$1"', autocheck : true };

/* 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';

/* Reveal anon IP */ // http://dev.wikia.com/wiki/RevealAnonIP window.RevealAnonIP = { permissions : ['rollback', 'threadmoderator', 'sysop', 'bureaucrat', 'helper', 'util', 'staff'] }; /* Clock */ // Display 12 hour time followed by day, month (English, full name) // and year with "(UTC)" at the end window.DisplayClockJS = '%2I:%2M:%2S %p %2d %{January;February;March;April;May;June;July;August;September;October;November;December}m %Y (UTC)';

/* FastDelete */ window.fdButtons = []; window.fdButtons[window.fdButtons.length] = { summary: 'Housekeeping', label: 'HK' }; window.fdButtons[window.fdButtons.length] = { summary: 'Vandalism', label: 'V' }; window.fdButtons[window.fdButtons.length] = { summary: 'Spam', label: 'S' };

/* QuickDelete [Categories ONLY] */ window.category = 'Candidates for deletion'; window.reason = 'Marked for deletion';

importArticles({   type: 'script',    articles: [        'u:dev:MessageWallUserTags/code.js',        'u:dev:MessageBlock/code.js',        'w:c:dev:AjaxRC/code.js',        'w:c:dev:RevealAnonIP/code.js',        'u:dev:CleanWantedFiles/code.js',        'u:dev:DisplayClock/code.js',        'u:dev:HeaderLinks/code.js',        'u:dev:LastEdited/code.js',        'w:c:dev:SignatureCheck/code.js',        'w:dev:WallGreetingButton/code.js',        'u:dev:ChatReload/code.js',        'u:dev:FastDelete/code.js',        'u:dev:QuickDelete/code.js'    ] });

/* Replaces with the name of the user browsing the page. Requires copying Template:USERNAME. */ $(function {   if (window.disableUsernameReplace || mw.config.get('wgUserName') === null) return;    $('span.insertusername').html(mw.config.get('wgUserName')); }); /* End of the replacement */

window.UserTagsJS = { modules: {}, tags: { bureaucrat: {u:'Bureaucrat', link:'Project:Staff#Bureaucrats'}, founder: {u:'Founder', link:'Project:Staff#Bureaucrats'}, sysop: {u:'Admin', link:'Project:Staff#Admins'}, chatmoderator: {u:'Chat moderator', link:'Project:Staff#Chat_Moderators'}, rollback: {u:'Rollback', link:'Project:Staff#Rollbacks'}, threadmoderator: {u:'Moderator', link:'Project:Staff#Moderators'}, vy: {u:'Foxy'}, coder: {u:'Wiki Coder'}, lizard: {u:'Mosasaurus Fan'}, asslord: {u:'Asslord'}, kaine: {u:'The Spawn of Satan'}, breaker: {u:'Dremora Overlord'}, smash: {u:'Amnesia Rainbow'}, burn: {u:'Awesome-est guy'}, gfor: {u:'Bonnie the bunny'}, assmin: {u:'Assmin'}, waterthem: {u:'The Squeaker'}, blaze: {u:'Ultimate Bonnie Fan'}, vriska: {u:'Jasprosesprite'}, senpai: {u: 'kaines amazing senpai'}, second: {u: 'Rebuns gf'}, test: {u:'Coding Test'}, fexyoh: {u:'Queen of Berds'}, ben: {u: 'BEN DROWNED'}, gjlewis: {u:'Leader of the Diner'}, naru: {u:'Naruto Uzumaki'}, ayato: {u:'Ayato Kirishimas lover'}, pnm: {u:'The Possessed Being'}, } }; UserTagsJS.modules.custom = { 'Vyris': ['vy'], 'TheAquuaHybrid': ['coder','bureaucrat','lizard','asslord'], 'Majin Symbiote (Kaine Flow)': ['kaine'], 'The Name Is Nick': ['rollback'], 'Dremora Stormcloak': ['breaker'], 'Rainbowsmash34': ['sysop','smash'], 'Fireburn12': ['founder', 'burn'], 'GforGolden': ['threadmoderator', 'gfor'], 'The-Endomaster': ['assmin'], 'SnkEydKrisice': ['waterthem'], 'ArkaineDestiny': ['rollback'], 'Lolliepuff': ['senpai'], 'PierrotEclipse': ['second'], 'SunsetBlaze': ['blaze'], 'Vriska Swag Jimbles': ['vriska'], 'Foxy Oh foxy the pirate': ['fexyoh'], 'Young BenDrowned': ['ben'], 'Gjlewis': ['gjlewis'], 'Dan and Phil 1987': ['naru', 'ayato'], 'Photo Negative Mickey': ['pnm'], }; UserTagsJS.modules.metafilter = { 'inactive': ['sysop', 'bureaucrat'], 'sysop': ['bureaucrat'], 'chatmoderator': ['sysop', ['patroller', 'rollback']] }; importArticle({type:'script', article:'w:c:dev:UserTags/code.js'});

window.MessageWallUserTags = { tagColor: 'Ghostwhite', glow: true, glowSize: '22px', glowColor: '#3104B4', users: { 'Fireburn12': 'Founder', 'TheAquuaHybrid': 'Owner', 'Vyris': 'Admin', 'The_Name_Is_Nick': 'Rollback', 'PierrotEclipse': 'Chat Moderator', 'Rainbowsmash34': 'Admin', 'ArkaineDestiny': 'Rollback', 'Dremora_Stormcloak': 'Chat Moderator', 'GforGolden': 'Moderator', 'The-Endomaster': 'Chat Moderator', 'TheFox01': 'Chat Moderator', 'Jillips_Entertainment': 'Moderator', 'SunsetBlaze': 'Chat Moderator', } };