User:TheV1ct0ri0u5/global.js

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

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

/***********/ /* Toolbar */ /***********/ /* /* Main $(function {   $('<a href="/wiki/Special:ListUsers?group=sysop">Sysops</a></li>').insertBefore('.AccountNavigation .subnav li:first');    $('<a href="/wiki/Special:ListUsers?group=bureaucrat">Bureaus</a></li>').insertBefore('.AccountNavigation .subnav li:first');    $('<a href="/wiki/Special:ListGroupRights">Groups/Rights</a></li>').insertBefore('.AccountNavigation .subnav li:first'); });

/* More */ $(function {   $('ul.tools li:first-child').before('<a href="http://c.wikia.com/wiki/Special:Chat">CCC</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>'); });

/* My Tools $('#my-tools-menu').prepend(   ' <a href="/wiki/Special:Editcount/" rel="nofollow">Edit Count</a></li>' +    ' <a href="/wiki/Special:RecentChanges" rel="nofollow">Recent Changes</a></li>' +    ' <a href="/index.php?title=Special%3ALog&type=block&user=&page=&year=&month=-1&tagfilter=" rel="nofollow">User Block Log</a></li>');

/****************/ /* MessageBlock */ /****************/

var MessageBlock = { title : 'Block', message : '{| style="border:3px solid blue;background:red;" width="500" align="center"| Notice You have been blocked! Duration: $2 Reason: $1 |}', autocheck : true };

/************/ /* UserTags */ /************/

UserTagsJS.module.custom = { 'Shining-Armor': ['ccsysop'], };

window.UserTagsJS = { modules: {}, tags: { ccsysop: { u:'Community Central Admin', order:5 }, js: { u:'JavaScript', order:1e101 }, troll: { u:'WARNING:Current or past troll', order:-1 } }, };

importArticle({type:'script', article:'w:c:dev:UserTags/code.js'});

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

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

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

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