User:ThundercraftBot/global.js

// Quick Comment Delete Config window.AjaxCommentDeleteConfig = { fastDelete: "Comment Was #|Off Topic/Spam/Vandalism" }; // Batch Delete Script Config window.batchDeleteDelay = 5; window.batchUnDeleteDelay = 5; // Mass Edit Config window.MassEditConfig = { interval: 10, placement: { element: "toolbar", type: "append" } }; //MassBlock delay window.massBlockDelay = 5; // AjaxBlock Config window.AjaxBlock = { blockReasons: { 'General Spam/Vandalism': 'General', 'Removing Content From Pages': 'Content Removal', 'Abusing Multiple Accouts (Sockpuppetry)': 'Sockpuppety', 'Vandalism-Only Account': 'VoA Account', 'Inserting False Information': 'False Info', 'Creating Spam/Vandalism Only Articles': 'Spam Articles', 'Inappropriate username': 'Unacceptable Username', 'Long-Term Abuse/Vandalism': 'LTA', 'Spamming Nonsense Comments': 'Nonsense Comments', 'Inserting nonsense/gibberish into pages': 'Nonsense/Gibberish in Pages', 'Spamming Links to External Sites': 'External Link Spam', 'Personal Attacks': 'Personal Attacks', 'Edit Warring': 'Edit Warring', 'Intimidating/Harrasing Comments': 'Bad Comments', },   expiryTimes: { '24 hours': '1 day', '3 days': '3 days', '1 week': '1 week', '2 weeks': '2 weeks', '3 weeks': '3 weeks', '1 month': '1 month', '6 weeks': '6 weeks', '2 months': '2 months', '3 months': '3 months', '4 months': '4 months', '6 months': '6 months', '9 months': '9 months', '1 year': '1 year', '18 months': '18 months', '3 years': '3 years', 'infinite': 'all of eternity', },   check: { talk: true, autoBlock: true, override: true }, }; // AjaxDelete Config window.AjaxDelete = { deleteReasons: { 'Spam/Vandalism': 'Spam/Vandalism', 'Marked for Deletion': 'MfD', 'Empty Article': 'Empty', 'Author request': 'Author request', 'Irrelevant to The Wiki': 'Irrelevant', 'Housekeeping': 'Housekeeping', 'Spam/Vandalism Article': 'Spam Article', 'Deprecated/Unused': 'Deprecated/Unused', 'Personal Attack article': 'PAA', 'Disinformation/Hoax': 'Disinformation/Hoax', 'Broken Redirect': 'Broken Redirect', 'Unused Redirect': 'Unused redirect', 'Redirect left from pagemove': 'Page Move redirect', },   imageDeleteReasons: { 'Offensive Image': 'Offensive', 'Inappropriate Image': 'Inappropriate', 'Harassment-Only image': 'Harassment', 'Housekeeping': 'Housekeeping', 'Copyright infringement': 'Copyright', 'Author request': 'Author request', 'Duplicate/Superseded File': 'Duplicate/Superseded', 'Improper Image format': 'Improper Format', 'Spam/Vandalism': 'Spam/Vandalism', },   autoCheckWatch: true, noUndelete: false, reload: false, };

//MassBlock config window.massBlockDelay = 5; //Nuke Config window.nukeDelay = 5; //WHAM tool config window.WHAMBlockReason = "vandalism"; window.WHAMDelay = 5; window.WHAMBlockDuration = '3 months'; window.WHAMDeleteReason = "deleting spam/vandalism";

//AutoRenamePages Config window.PRAoptions = { editSummary: 'Updating page links (automatic)' }; // Mass Rename Pages Config window.massRenameDelay = 25; //ThreadDelete config window.AjaxThreadDeleteConfig = { fastDelete: false, reason: 'Thread/Comment Deleted: The Thread/Comment Has Containted the Following: Spam / Vandalism / #|Roasting/Heated Arguments' }; //MassProtect Delay window.massProtectDelay = 5; //MassUndelete delay window.batchUndeleteDelay = 5;

LIRoptions = { bottomMessage: '', editSummary: 'Updating file links (automatic)', singleButtonText: 'Rename and update', queueButtonText: 'Add to queue', delay: 10 }; // Global userpage window.qtUserPageTemplate = ''; // Edit Conflict alert check window.EditConflictAlertInterval = 15000;

//Imports importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:AjaxDelete/code.js',        'u:dev:MediaWiki:AjaxBatchDelete.js',        'u:dev:MediaWiki:Nuke/code.js',        'u:dev:MediaWiki:MassPatrol/code.js',        //'u:dev:MediaWiki:AjaxThreadDelete/code.js',        'u:dev:MediaWiki:MassProtect/code.js',        'u:dev:MediaWiki:MassEdit/code.js',        'u:dev:MediaWiki:QuickCreateUserPage/code.js',        //'u:dev:MediaWiki:WHAM/code.2.js',        'u:dev:MediaWiki:FastOldImageDelete/code.js',        'u:dev:MediaWiki:AdminDashboard block/code.js',        'u:dev:MediaWiki:AddArticleToCategory/code.js',        'u:dev:MediaWiki:AjaxRename/code.js',        'u:dev:MediaWiki:AdminDashboard JS-Button/code.js',        'u:dev:MediaWiki:AjaxPatrol/code.js',        'u:dev:MediaWiki:PurgeButton/code.js',        'u:dev:MediaWiki:AjaxBatchUndelete.js',        'u:dev:MediaWiki:MassRename/code.js', 'u:dev:MediaWiki:AjaxRedirect/code.js', 'u:dev:MediaWiki:MassRedirect/code.1.js', // 'u:dev:MediaWiki:MassBlock/code.js', <-- disabled untill script gets fixed 'u:dev:MediaWiki:ViewDeleted/code.js', 'u:dev:MediaWiki:RefreshThreads/code.js', 'u:dev:MediaWiki:AjaxUserRights.js', 'u:dev:MediaWiki:CommentPreview/code.js', 'u:dev:MediaWiki:MessageWallImprovements.js', // 'u:dev:MediaWiki:AjaxBlock/code.js', <-- disabled untill script gets fixed 'u:dev:MediaWiki:CodeEditor.js', 'u:dev:MediaWiki:QuickToolsv2/code.js', 'u:dev:MediaWiki:QuickDiff/code.js', //'u:dev:MediaWiki:PowerDelete.js', 'u:dev:MediaWiki:SearchEnhancements.js', 'u:dev:MediaWiki:MassCategorization/code.js', 'u:dev:MediaWiki:GlobalEditcount/code.js', 'u:dev:MediaWiki:FindAndReplace/code.js', 'u:dev:MediaWiki:AjaxCommentDelete/code.js', 'u:dev:MediaWiki:DupImageList/code.js', 'u:dev:MediaWiki:TemplateTypeButtons/code.js', 'u:dev:MediaWiki:MultipleFileDelete/code.js', 'u:dev:MediaWiki:RevealAnonIP/usercode.js', 'u:dev:MediaWiki:AnchoredRollback/code.js', 'u:dev:MediaWiki:MassRenameRevert/code.js', 'u:dev:MediaWiki:QuickDiff/code.js', 'u:dev:MediaWiki:AjaxUndo/code.js', 'u:dev:MediaWiki:ViewDeleted/code.js', 'u:dev:MediaWiki:CodeLinksDropdown.js', 'u:dev:MediaWiki:Rollback/code.js', 'u:dev:MediaWiki:FileUsageAuto-update/code.js', 'u:dev:MediaWiki:RevealAnonIP/usercode.js', 'u:dev:MediaWiki:VanguardTools.js', 'u:dev:MediaWiki:EditConflictAlert/code.js', 'u:dev:MediaWiki:NullEditButton/code.js', 'u:dev:MediaWiki:MassNullEdit/code.js', 'u:dev:MediaWiki:UsefulDropdown/code.js',

//Personal Imports 'url:c.wikia.com:User:Thundercraft5/global.js/WHAM-custom.javascript', 'url:c.wikia.com:User:Thundercraft5/global.js/MassBlock-custom.javascript', 'url:c.wikia.com:User:Thundercraft5/global.js/AjaxBlock-custom.javascript', ] });

require(['jquery'], function($) {   $('#theme-solarized-dark').replace(/function\s? (.*)\(\)/g, ' \1 '); });