User:TheV1ct0ri0u5/global.js

/************/ /* UserTags */ /************/ window.UserTagsJS = { modules: {}, tags: { vandal: { u: 'Problem User', order:-1/0 }, affiliate: { u: 'Partner', order:1 } },	oasisPlaceBefore: '' };

UserTagsJS.modules.custom = { 'KCCreations': ['affiliate'], 'ShiaLeBouf2818': ['vandal'] }; importArticle({type:'script', article:'w:c:dev:UserTags/code.js'});

/****************/ /* Import Specs */ /****************/

//FastDelete window.fdButtons = [];

window.fdButtons.push(   {        summary: 'Cleanup',        label: 'Cleanup'    },    {        summary: 'Vandalism',        label: 'Vandalism'    },    {        summary: 'Housekeeping',        label: 'Housekeeping'    },    {        summary: 'Spam',        label: 'Spam'    } );

//QuickCreateUserPage var qtUserPageTemplate = '';

var qtEnableUserPageOverwrite = true;

//MessageBlock var MessageBlock = { title : 'Edit Restriction', message : ' NOTICE! You have been blocked!

Duration: $2 Reason $1 ', autocheck : true };

/*************/ /* User Menu */ /*************/

$('.user-menu').append('global.js'); $('.user-menu').append('common.js'); $('.user-menu').append('Local Signature'); $('.user-menu').append('Bio');

/***********/ /* Toolbar */ /***********/

$(function {   $('ul.tools li:first-child').before('<a href="http://c.wikia.com/wiki/Special:Chat" target="_blank">CCC</a></li>');    $('ul.tools li:first-child').before('<a href="/wiki/Special:Log?page=' + mw.config.get('wgPageName') + '">Page Logs</a></li>');    $('ul.tools li:first-child').before('<a href="/wiki/Special:Log?page=' + mw.config.get('wgPageName') + '&type=block">User Blocks</a></li>');    $('ul.tools li:first-child').before('<a href="/wiki/Special:ListUsers?group=sysop">Sysops</a></li>');    $('ul.tools li:first-child').before('<a href="/wiki/Special:ListUsers?group=bureaucrat">Bureaus</a></li>');    $('ul.tools li:first-child').before('<a href="/wiki/Special:ListGroupRights">Groups/Rights</a></li>');    $('ul.tools li:first-child').before('<a href="/wiki/Special:Leaderboard">Leaderboard</a></li>');    $('ul.tools li:first-child').before('<a href="http://c.wikia.com/wiki/Special:RandomWiki">Random Wiki</a></li>'); $('ul.tools li:first-child').before('<a href="/wiki/Message_Wall_Greeting:TheV1ct0ri0u5?action=edit">MW Greeting</a></li>'); $('ul.tools li:first-child').before('<a href="/wiki/Special:RecentChanges">Recent Changes</a></li>'); });

/********/ /* AJAX */ /********/

importArticles({   type: 'script',    articles: [        'u:dev:AnchoredRollback/code.js',        'u:dev:AjaxPatrol/code.js',        'u:dev:AjaxRC/code.js',        'u:dev:AjaxRename/code.js',        'u:dev:AjaxUndo/code.js'    ] });

/***********/ /* Editing */ /***********/

importArticles({   type: 'script',    articles: [        'u:dev:FindAndReplace/code.js',        'u:dev:View_Source/code.js',        'u:dev:Sine/code.js',        'u:dev:ViewRemoved/code.js',        'u:dev:QuickCreateUserPage/code.js'        ] });

/************************/ /* Community Management */ /************************/

importArticles({   type: 'script',    articles: [        'u:dev:WHAM/code.js',        'u:dev:Quick_Management/code.js',        'u:dev:RevealAnonIP/usercode.js',        'u:dev:MessageBlock/code.js',        'u:dev:FastDelete/code.js'        ] });

/**************/ /* Appearance */ /**************/

importArticles({   type: 'script',    articles: [        'u:dev:DisplayClock/code.js',        'u:dev:MessageBlocker/code.js'        ] });