User:TheV1ct0ri0u5/global.js

window.UserTagsJS = { modules: {}, tags: { //Common local usergroups bureaucrat: { u:'Bureaucrat', order:-1/0 }, sysop: { u:'Sysop', order:0 }, 'content-moderator': { u:'Content', order:1 }, rollback: { u:'Rollback', order:1}, threadmoderator: { u:'Discussions' }, chatmoderator: { u:'Chat' }, patroller: { u:'Patroller' }, assistant: { u:'Assistant' }, checkuser: { u:'CU', order:2 }, //Global staff: { u:'W', order:-1/0 }, util: { u:'util', order:1 }, //Possibly redundant, but who cares vstf: { u:'VSTF', order:1 }, helper: { u:'Helper' }, council: { u:'Council' }, vanguard: { u:'Portability' }, //Tags used by UserTags modules newuser: { u:'New user' }, } };

UserTagsJS.modules.mwGroups = ['bureaucrat', 'sysop', 'content-moderator', 'rollback', 'threadmoderator', 'chatmoderator', 'patroller', 'assistant', 'checkuser', 'staff', 'util', 'vstf', 'helper', 'council', 'vanguard'];

UserTagsJS.modules.newuser = { days: 7, edits: 10 };

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

/****************/ /* Import Specs */ /****************/ //FastDelete window.fdButtons = []; window.fdButtons.push(   {        summary: 'Housekeeping',        label: 'H'    },    {        summary: 'Spam',        label: 'S'    },    {        summary: 'Violation of Wikia\'s Terms of Use',        label: 'ToU'    } ); //QuickCreateUserPage var qtUserPageTemplate = ''; var qtEnableUserPageOverwrite = true; //LastEdited window.lastEdited = { time: 'timestamp' };

/************/ /* Chat fix */ /************/ if (mw.config.get('wgCanonicalSpecialPageName') == 'Chat') { window.location = "?useskin=oasis"; } /*************/ /* User Menu */ /************* //Unused in Monobook $('.user-menu').append('global.js'); $('.user-menu').append('common.js'); $('.user-menu').append('Local Signature'); $('.user-menu').append('Bio'); /***********/ /* Toolbar */ /*********** //Unused in Monobook $(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/Message_Wall_Greeting:TheV1ct0ri0u5?action=edit" target="_blank">MW Greeting</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:ListUsers?group=sysop">Sysops</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:RecentChanges">Recent Changes</a></li>');    $('ul.tools li:last-child').after('<a href="/wiki/Special:Log?type=rights">RtsL</a></li>');    $('ul.tools li:last-child').after('<a href="/wiki/Special:Log?type=block&page=User:' + mw.config.get('wgTitle') + '">UB</a></li>'); $('ul.tools li:last-child').after('<a href="/wiki/Special:Contributions?target=' + mw.config.get('wgTitle') + '">UC</a></li>'); $('ul.tools li:last-child').after('<a href="/wiki/Special:NewPages">NP</a></li>'); $('ul.tools li:last-child').after('<a href="/wiki/Special:Log?type=block">BlLog</a></li>'); $('ul.tools li:last-child').after('<a href="/wiki/Special:BlockList">BList</a></li>'); }); */

/********/ /* AJAX */ /********/ importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:AnchoredRollback/code.js',        'u:dev:MediaWiki:AjaxDiff/code.js',        'u:dev:MediaWiki:AjaxPatrol/code.js',        'u:dev:MediaWiki:AjaxRC/code.js',        'u:dev:MediaWiki:AjaxRename/code.js',        'u:dev:MediaWiki:AjaxUndo/code.js',        'u:dev:MediaWiki:QuickLogs/code.js',        'u:kocka:MediaWiki:AjaxCommentDelete/code.js',        'u:dev:MediaWiki:Rollback/code.js'    ] }); /***********/ /* Editing */ /***********/ importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:FindAndReplace/code.js',        'u:dev:MediaWiki:View_Source/code.js',        'u:dev:MediaWiki:Sine/code.js',        'u:dev:MediaWiki:ViewRemoved/code.js',        'u:dev:MediaWiki:QuickCreateUserPage/code.js',        'u:dev:MediaWiki:RedirectManagement/code.js'        ] }); /************************/ /* Community Management */ /************************/ importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:WHAM/code.js',        'u:dev:MediaWiki:Quick_Management/code.js',        'u:dev:MediaWiki:RevealAnonIP/usercode.js',        'u:dev:MediaWiki:FastDelete/code.js',        'u:dev:MediaWiki:Nuke/code.js'        ] }); /**************/ /* Appearance */ /**************/ importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:DisplayClock/code.js',        'u:dev:MediaWiki:LastEdited/code.js'        ] }); importScriptURI('http://monchbox.wikia.com/index.php?title=User:Monchoman45/monobook.js&action=raw&ctype=text/javascript&templates=expand');

// Highlighting vanguard if (mw.config.get('wgNamespaceNumber') === 8 && mw.config.get('wgAction') == 'history') { $('a[href$="User:Cyanide3"], a[href$="User:Dragon_Rainbow"], a[href$="User:Kopcap94"], a[href$="User:Lord_Eladan"], a[href$="User:Paynekiller92"], a[href$="User:Rodri_cyberdog"], a[href$="User:Technoliberator"], a[href$="User:Tono555"], a[href$="User:TwoTailedFox"], a[href$="User:UltimateSupreme"], a[href$="User:Xemnas_Axel"], a[href$="User:Yatalu"]').css('color', '#ffb3ff'); }