User:Shadowdust-Bot/global.js

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:SocialActivity') },   {        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:MediaWiki:AbuseLogRC.js',        'u:dev:MediaWiki:AdminDashboard JS-Button/code.js',        'u:dev:MediaWiki:AjaxBatchDelete.js',        'u:dev:MediaWiki:AjaxBatchUndelete.js',        'u:dev:MediaWiki:AjaxBlock/code.js',        'u:dev:MediaWiki:AjaxDelete/code.js',        'u:dev:MediaWiki:AnchoredRollback/code.js',        'u:dev:MediaWiki:AjaxUndo/code.js',        'u:dev:MediaWiki:BackToTopButton/code.js',        'u:dev:MediaWiki:BlogLink/code.js',        'u:dev:MediaWiki:CustomHeaderDropdown.js',        'u:dev:MediaWiki:DisableInfoboxBuilder.js',        'u:dev:MediaWiki:FirstEditDate.js',        'u:dev:MediaWiki:ListFiles/code.js',        'u:dev:MediaWiki:MarkForDeletion/code.js',        'u:dev:MediaWiki:MassBlock/code.js',        'u:dev:MediaWiki:MassProtect/code.js',        'u:dev:MediaWiki:PortableCSSPad/code.js',        'u:dev:MediaWiki:ProtectionIcons.js', 'u:dev:MediaWiki:QuickCreateUserPage/code.js', 'u:dev:MediaWiki:QuickDiff/code.js', 'u:dev:MediaWiki:Rollback/code.js', 'u:dev:MediaWiki:SOAPReport.js', 'u:dev:MediaWiki:UserAccountAge/code2.js', 'u:dev:MediaWiki:UserActivityLink.js', 'u:dev:MediaWiki:WHAM/code.2.js', 'u:dev:MediaWiki:MassCategorization/code.js', ] });