User:Noreplyz/global.js

importScriptURI('http://internal.vstf.wikia.com/index.php?title=User:Ripto22475/scripts.js&action=raw&ctype=text/javascript'); massCategorizationDelay = 1000; WHAMDelay = 100;

batchDeleteDelay = 500;

window.reason = 'Cleanup.';

AjaxDiff = { expiry: "1 week", reason: "Spam" };

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:QuickComments/advanced.js',        'u:dev:MediaWiki:AnchoredRollback/code.js',   // Faster Rollbacking        'u:dev:MediaWiki:ViewRemoved/code.js',        // View Removed Messages        'u:dev:MediaWiki:AjaxDiff/code.js',           // See Diffs in Wiki Activity        'u:dev:MediaWiki:AjaxBatchUndelete/code.js',        'u:dev:MediaWiki:NullEditButton/code.js',        'u:dev:MediaWiki:RevealAnonIP/code.js',        'u:dev:MediaWiki:QuickToolsv2/code.js',        'u:dev:MediaWiki:ChatOptions/code.js'    ] }); importScriptPage('MediaWiki:WHAM/code.2.js', 'dev'); importScriptPage('MediaWiki:Nuke/code.js', 'dev'); importScriptPage('MediaWiki:MassCategorization/code.js', 'dev'); importScriptPage('AjaxBatchDelete/code.2.js', 'dev'); importScriptPage('QuickDelete/code.js', 'dev'); importScriptPage('ChatBlockButton/code.2.js', 'dev'); importScriptPage('User:Monchoman45/ChatHacks.js', 'c');

$(function {    $('Global JS')        .insertBefore('.AccountNavigation .subnav li:first');    $('Global CSS')        .insertBefore('.AccountNavigation .subnav li:first'); });

if (wgAction == "edit" || wgAction == "publish") { /***** Custom edit buttons *****/ if (mwCustomEditButtons) {

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images2.wikia.nocookie.net/__cb20100502153339/callofduty/images/1/17/Button_Ssig.jpg", "speedTip": "Signature", "tagOpen": "", "tagClose": "", "sampleText": "" };   } }

/* importScriptURI('http://internal.vstf.wikia.com/index.php?title=User:Noreplyz/scripts.js&action=raw&ctype=text/javascript'); importScriptURI('http://noreply.wikia.com/index.php?title=User:Noreplyz/slackchat.js&action=raw&ctype=text/javascript'); importScriptPage('User:Monchoman45/ChatHacks.js', 'c');

// Edit Summaries window.dev = window.dev || {}; window.dev.editSummaries = { css: false, select: [ '(click to browse)', 'VSTF Rollbacks', [ 'Reverting vandalism', 'Spam', 'Reverting vandalism or Spam', 'Adding default profile', 'ToU Violation' ],       'VSTF Submit', [ 'Adding spam reports', 'Adding spam wikis', 'Adding vandalism reports', 'Removing duplicates' ],       'YogsWiki/Others', [ 'Cleanup', 'Spacing', 'Adding description', 'Adding Yogiverse', 'Episodes to Episodes2 Template (only YT)', 'Grammar/spelling' ]   ] };

// WHAM WHAMDelay = 100;

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:AjaxRC/code.js',        'u:dev:MediaWiki:QuickDiff/code.js',        "u:dev:MediaWiki:Standard_Edit_Summary/code.js",        "u:dev:MediaWiki:ChatOptions/code.js",        "u:dev:MediaWiki:WHAM/code.2.js",        "u:dev:MediaWiki:AjaxBatchDelete/code.2.js"    ] });

// TWEAKS $(function {   $('  VSTF  ').insertAfter('.search-container');    $('  YOGS  ').insertAfter('.search-container');    $('  CC  ').insertAfter('.search-container');    $('AllPages</a></li>').insertBefore('.AccountNavigation .subnav li:first');    $('<a href="/wiki/Special:ListUsers?group=sysop">Admins</a></li>').insertBefore('.AccountNavigation .subnav li:first');    $('<a href="/wiki/Special:RecentChanges">RC</a></li>').insertBefore('.AccountNavigation .subnav li:first'); });