User:Thedeadone214/global.js

/* Torus. */ if (mw.config.get('wgPageName') == "Special:Torus") { importScriptPage('MediaWiki:Torus.js', 'monchbox'); } /* More script imports. */ importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); batchDeleteDelay = 500; importScriptPage('AjaxBatchDelete/code.2.js', 'dev'); importArticles({   type: 'script',    articles: [        'u:answers:MediaWiki:Gadget-HotCat.js',        'u:dev:AjaxPatrol/code.js',        'u:dev:AjaxRC/code.js',        'u:dev:AjaxRename/code.js',        'u:dev:AjaxUndo/code.js',        'u:dev:AnchoredRollback/code.js',        'u:dev:AutoEditDropdown/code.js',        'u:dev:AutoEditPages/code.js',        'u:dev:CacheCheck/code.js',        'u:dev:CategoryRenameAuto-update/code.js',        'u:dev:EditcountTag/code.js',        'u:dev:FasterBanModule/code.js',        'u:dev:HeaderLinks/code.js',        'u:dev:HideRail/code.js',        'u:dev:LastEdited/code.js',        'u:dev:ListFiles/code.js',        'u:dev:Message/code.js',        'u:dev:MiniComplete/code.js',        'u:dev:NullEditButton/code.js',        'u:dev:PageMakerPro/code.js',        'u:dev:PortableCSSPad/code.js',        'u:dev:PurgeButton/code.js',        'u:dev:QQX/code.js',        'u:dev:QuickComments/code.js', 'u:dev:QuickCreateMessageWallGreeting/code.js', 'u:dev:QuickThreads/code.js', 'u:dev:QuickTools/advanced.js', 'u:dev:QuickToolsv2/code.js', 'u:dev:Quick_Management/code.js', 'u:dev:RevealAnonIP/code.js', 'u:dev:RelocateEditDiscussionButtons/code.js', 'u:dev:SearchSuggest/code.js', 'u:dev:SkinSwitchButton/code.js', 'u:dev:ViewRemoved/code.js', 'u:dev:WallGreetingButton/code.js', 'u:josephhawk:User:Josephyr/categorycleanup.js', 'u:josephhawk:User:Josephyr/file.js', 'u:josephhawk:User:Josephyr/filecleanup.js', 'u:rs:User:Suppa chuppa/undoplus.js', 'u:c:User:Ozuzanna/chatconnect.js', 'u:wikimarks:Client.js', ] });

/* Removing content from auto-adding to additional reason when deleting. */ $(function {    // Clears the delete reason box if it's an autosummary    if (wgAction && wgAction === "delete") {        var deleteBox = document.getElementsByName("wpReason")[0];        if (deleteBox && deleteBox.value.search("content was") === 0) {            deleteBox.value = "";        }    } }); /* End. */