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" } }; // STD summaries window.dev = window.dev || {}; window.dev.editSummaries = { css: '#stdSummaries { ... }',   select: [ '(click to browse)', 'Quick', [ 'Formatting', 'Removing vandalism', 'Fixing error(s)', 'Corrected spelling/grammar', 'Corrected formatting/layout' ],       'General', [ 'Added/removed/corrected link(s)', 'Cleanup', 'HTML/Source mode cleanup', 'Expanded', 'Grammar', 'Punctuation', 'Redlink removal', 'Refactoring', 'Re-ordering/re-organizing', 'Revised', 'Spelling correction', 'Style/layout', 'Netural point of view (NPOV)', 'Tidying', 'Updating', 'Wikifying', 'Added/removed/corrected template(s)', 'Adding new features', 'Testing new features', 'Making source code look better', ],       'Templates', [ 'Parser function modification', 'Fixing template bugs', 'Creating documentation subpage', 'Magic word correction/modification', ],       'Advanced code', [ 'Logic cleanup/Optimiziation', 'Function cleanup', 'Adding comments', 'Fixing errors/bugs', 'Removing deprecated features', 'Minor changes', ],       'Removal/Reversion', [ 'Reverted Spam/Vandalism', 'Reverted test edit', 'Reverted Copy vio\'' ],       'Categories', [ 'Added category(ies)', 'Alphabetised category(ies)', 'Creating Category page', 'Modified category(ies)', ],   ], };

// AjaxRC window.ajaxRefresh = 30000; window.ajaxPages = [ "Special:RecentChanges", "Special:WikiActivity", "Special:Watchlist", "Special:Log", "Special:Contributions", "Special:AbuseLog", ]; $.extend(true, window, {dev: {i18n: {overrides: {AjaxRC: {   'ajaxrc-refresh-text': 'Auto Refresh',    'ajaxrc-refresh-hover': 'Enable automatically refreshing of this page', }}}}});

//MassBlock delay window.massBlockDelay = 5; // AjaxBlock Config window.AjaxBlock = { blockReasons: { 'Spam/Vandalism': 'General Spam/Vandalism', 'Disruptive Editing':'Disruptive Editing', 'Removing Content From Pages': 'Removing Content form Pages', 'Abusing Multiple Accouts (Sockpuppetry)': 'Sockpuppety', 'Vandalism-Only Account': 'VoA Account', 'Inserting False Information': 'Inserting False Information', 'Creating Nonsense/Vandalism Articles': 'Creating Spam Articles', 'Unacceptable username': 'Unacceptable Username', 'Long-Term Abuse': 'Long-Term Abuse', 'Spamming Nonsense Comments': 'Nonsense Comments', 'Inserting nonsense/gibberish into pages': 'Inserting nonsense/gibberish into pages', 'Spamming Links to External Sites': 'External Link Spam', 'Personal Attacks': 'Personal Attacks', 'Intimidating Behavior/Harassment': 'Intimidating Behavior/Harassment', 'Edit Warring': 'Edit Warring', 'Intimidating/Harrasing Comments': 'Intimidating/Harrasing Comments', 'Open Proxy/VPN': "Open Proxy/VPN", },   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.AutoCreateUserPagesConfig = { content:{ 2:,       3:,        1202:''    },    summary: 'Creating userpage(es)', };

// Edit Conflict alert check window.EditConflictAlertInterval = 15000;

// DeleteUserpage config window.delUserpage = { doProtect: true, };

var globalNavButtons = [ {   text: 'Community', url: 'https://community.fandom.com', isMain: true, whoIsMain: false, shortName: 'C' }, {   text: 'New users log', url: 'https://community.fandom.com/wiki/Special:Log/newusers', isMain: false, whoIsMain: 'C', shortName: 'NU' }, {    text: 'Recent Activity log', url: 'https://community.fandom.com/wiki/Special:RecentChanges?days=1&limit=250', /*250 or 100 to enhance loading speed, depends of last check time*/ isMain: false, whoIsMain: 'C', shortName: 'RA' }, {    text: 'Abuse Log', /*In case RA doesn't list anything*/ url: 'https://community.fandom.com/wiki/Special:AbuseLog?limit=100', /*100 is enough in general (faster loading speed)*/ isMain: false, whoIsMain: 'C', shortName: 'AL' },   {    text: 'Wikis log', url: 'https://community.fandom.com/wiki/Special:Newwikis', /*In case logs get broken*/ isMain: false, whoIsMain: 'C', shortName: 'WL' }, {    text: 'VSTF', url: 'https://vstf.fandom.com', isMain: true, whoIsMain: false, shortName: 'V' }, {   text: 'Profiles', url: 'https://vstf.fandom.com/wiki/Report:User_profile_headers', /*To use when a profile contains spam (header!)*/ isMain: false, whoIsMain: 'V', shortName: 'R:P' }, {    text: 'Spam', url: 'https://vstf.fandom.com/wiki/Report:Spam', /*When profile empty, anon IP spamming etc (except "the spam bot")*/ isMain: false, whoIsMain: 'V', shortName: 'R:S' }, {    text: 'Wiki', url: 'https://vstf.fandom.com/wiki/Report:Wiki', /*For spam Wikis*/ isMain: false, whoIsMain: 'V', shortName: 'R:W' }, {    text: 'Biglist', url: 'https://vstf.fandom.com/wiki/Report:Spam/Biglist', /*If number of spam reports in R:S is more than 10 / the "spam bot"*/ isMain: false, whoIsMain: 'V', shortName: 'R:BL' } ];

window.announcementsIgnore = { option: 'opt-out-all', };

/*=============================================== *Imports *===============================================// importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:AjaxDelete/code.js',        'u:dev:MediaWiki:AjaxBatchDelete.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: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:AjaxRC.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:Standard_Edit_Summary/code.js', 'u:dev:MediaWiki:AutoCreateUserPages.js', 'u:dev:MediaWiki:AllPagesHideRedirect/code.js', 'u:dev:MediaWiki:JWB/load.js', 'u:dev:MediaWiki:GlobalNavButtons.js', 'u:dev:MediaWiki:RedirectManagement/code.js', 'u:dev:MediaWiki:AnnouncementsIgnore.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', 'url:c.wikia.com:User:Thundercraft5/global.js/MoreDropdown.javascript', 'url:c.wikia.com:User:Thundercraft5/global.js/PowerDelete-custom.javascript', 'url:c.wikia.com:User:Thundercraft5/global.js/AjaxRedirect-custom.javascript', 'url:c.wikia.com:User:Thundercraft5/global.js/DeleteUserpage.javascript', 'url:c.wikia.com:User:Thundercraft5/global.js/UserAndIPtools.javascript', 'url:c.wikia.com:User:Thundercraft5/global.js/Nuke-Custom.javascript', 'url:c.wikia.com:User:Thundercraft5/global.js/EditHelper.javascript',

] });