User:TheKorraFanatic/global.js

// AjaxBlock window.AjaxBlock = { expiryTimes: { '2 hours': '2 hours', '1 day': '1 day', '3 days': '3 days', '1 week': '1 week', '2 weeks': '2 weeks', '1 month': '1 month', '3 months': '3 months', '6 months': '6 months', '1 year': '1 year', 'infinite': 'infinite' },   check: { talk: true, autoBlock: true, override: true, noCreate: true } };

// AjaxDelete window.AjaxDelete = { deleteReasons: { 'Author request': 'Author request', 'Broken redirect': 'Broken redirect', 'Cleanup': 'Cleanup', 'Marked for deletion': 'Marked for deletion', 'Spam': 'Spam', 'Vandalism': 'Vandalism', },   reload: true };

// CustomHeaderDropdown window.CustomHeaderLinks = [ {       text: 'Local Administrators', href: mw.util.getUrl('Special:ListAdmins') },   {        text: 'Recent Changes', href: mw.util.getUrl('Special:RecentChanges') },   {        text: 'DiscussionsRC', href: mw.util.getUrl('Special:DiscussionsRC') },   {        text: 'Add New Image', href: mw.util.getUrl('Special:Upload') },   {        text: 'Add New Video', href: mw.util.getUrl('Special:Video') } ];

// JWB importScriptURI('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript');

// Remove deletion autofills if (mw.config.get('wgAction') === 'delete') { $('#wpReason').removeAttr('value'); }

// WHAM window.WHAMBotMe = true; window.WHAMDelay = 1000; window.WHAMDeleteReason = "Cleanup";

// Imports importArticles({   type: 'script',    articles: [        'u:dev:AbuseLogRC.js',        'u:dev:AdminDashboard JS-Button/code.js',        'u:dev:AjaxBatchDelete.js',        'u:dev:AjaxBatchUndelete.js',        'u:dev:AjaxBlock/code.js',        'u:dev:AjaxDelete/code.js',        'u:dev:AnchoredRollback/code.js',        'u:dev:AjaxUndo/code.js',        'u:dev:BackToTopButton/code.js',        'u:dev:BlogLink/code.js',        'u:dev:CustomHeaderDropdown.js',        'u:dev:DisableInfoboxBuilder.js',        'u:dev:ListFiles/code.js',        'u:dev:MarkForDeletion/code.js',        'u:dev:MassBlock/code.js',        'u:dev:MassProtect/code.js',        'u:dev:PortableCSSPad/code.js',        'u:dev:ProtectionIcons.js',        'u:dev:QuickDiff/code.js',        'u:dev:Rollback/code.js',        'u:dev:SOAPReport.js',        'u:dev:UserAccountAge/code2.js',        'u:dev:UserActivityLink.js',        'u:dev:VanguardTools.js', 'u:dev:WHAM/code.2.js', 'u:thekorrafanatic:User:TheKorraFanatic/DiscussionsJS.javascript', ] });