User:TheV1ct0ri0u5/global.js

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

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

/***********/ /* Toolbar */ /***********/ /* /* Main $(function {   $('Sysops').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:Editcount/">Edit Count</a></li>'); $('ul.tools li:first-child').before('<a href="/wiki/Special:RecentChanges">Recent Changes</a></li>'); $('ul.tools li:first-child').before('<a href="/index.php?title=Special%3ALog&type=block&user=&page=&year=&month=-1&tagfilter=">User Blocks</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>');

/******************************************/ /* Special:ListUsers Powerusers check box */ /******************************************/ if (wgCanonicalSpecialPageName == "Listusers") { $("fieldset.lu_fieldset tr:last-child").prepend('<td valign="middle" style="padding:0px 2px 0px 1px;"><label for="checkBoxForpoweruser"> <input type="checkbox" name="lu_target" class="lu_target" value="poweruser" checked="checked" id="checkBoxForpoweruser"> Powerusers '); };

/*************/ /* AJAX Stuff */ /*************/

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