User:ELIN's Backup Account/global.js

// TokenRefresh Config window.TokenRefreshInterval = 360000; // DeleteUserpage config window.DeleteUserpage = { noConfirm: false, protect: true, deleteReason: 'Cleanup', protectReason: 'Requested', expiry: 'infinite' }; // AnnouncementIgnore config window.announcementsIgnore = { option: 'opt-out-all', exceptWikiIds: [ 965951,       177,        2125407    ] }; // AjaxBlock config window.AjaxBlock = { check: { talk: true, autoBlock: true, override: true } }; // CustomPages config window.customPages = [ ['Special:UserInfo', 'User Lookup'] ]; // QuickCreateUserPage config window.qtEnableUserPageOverwrite = true; // ViewDeleted config var ViewDeleted = { noPrompt: true, rc: true, logs: true, modal: { preview: { width: 800 },       content: { width: 600 }   } }; // FastDelete config window.fdButtons = [ {       summary: 'Housekeeping', label: 'HK' },   {        summary: 'Vandalism', label: 'V'   }, {       summary: 'Spam', label: 'S'   }, {       summary: 'Page is an opinion, should go in a blog post', label: 'O'   }, {       summary: 'Unused', label: 'U'   } ]; /******************************** BLANK PAGE SCRIPT * https://github.com/DaChickenKing/FANDOM-Blank-Page-Script/blob/release/code.js **************************************************************************/ window.FandomBlankPageScript = {}; FandomBlankPageScript.config = {}; FandomBlankPageScript.config.MarkAsMinorEdit = false; function BlankPage { $.ajax({       url: mw.util.wikiScript('api'),        type: 'POST',        data: {            action: 'edit',            title: wgPageName,            summary: 'Blanked page using FANDOM Blank Page Script',            text: "",            bot: 1,            minor: window.FandomBlankPageScript.configMarkAsMinorEdit,            token: mw.user.tokens.get('editToken'),            format: 'json'        },        success: function(d) {            if (d.edit.result == 'Success') {                location.reload;            }        }    }); } window.onload = function { var WipeLink = document.createElement("a"); WipeLink.href = "#"; WipeLink.innerHTML = "BLANK PAGE"; WipeLink.className = "wds-button wds-is-secondary"; WipeLink.onclick = function { BlankPage; };   document.getElementsByClassName('page-header__contribution-buttons')[0].append(WipeLink); setTimeout(function {       WipeLink.onclick = function {            BlankPage;        };    }, 1000); }; /*******************************************************************/ if(wgUserGroups.includes("content-moderator")) { wgUserGroups.push("sysop"); // to allow access to WHAM and Nuke and other things } importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:RefreshThreads/code.js',        'u:dev:MediaWiki:VanguardTools.js',        'u:dev:MediaWiki:WHAM/code.2.js',        'u:dev:MediaWiki:Rollback/code.2.js',        'u:dev:MediaWiki:WallGreetingButton/code.js',        'u:dev:MediaWiki:JWB/load.js',        'u:dev:MediaWiki:UserAndIPTools.js',        'u:dev:MediaWiki:AjaxDiff/code.js',        'u:dev:MediaWiki:UsernameAvailability/code.js',        'u:dev:MediaWiki:QuickCreateMessageWallGreeting/code.js',        'u:dev:MediaWiki:RemoveTracking.js',        'u:dev:MediaWiki:MassEdit/code.js',        'u:dev:MediaWiki:MarkForDeletion/code.js',        'u:dev:MediaWiki:FixWantedFiles/code.js',        'u:dev:MediaWiki:ChainQuotes.js',        'u:dev:MediaWiki:RollbackSpamUserContribs/code.js',        'u:dev:MediaWiki:RevealAnonIP/usercode.js',        'u:dev:MediaWiki:TokenRefresh.js', 'u:dev:MediaWiki:CustomToolbarLinks/code.js', 'u:dev:MediaWiki:Nuke/code.js', 'u:dev:MediaWiki:ViewRemoved/code.js', 'u:dev:MediaWiki:RailWAM/code.js', 'u:dev:MediaWiki:RedirectManagement/code.js', 'u:dev:MediaWiki:Message/code.js', 'u:dev:MediaWiki:PiniginsUserInfo/code.js', 'u:dev:MediaWiki:AjaxDelete/code.js', 'u:dev:MediaWiki:AjaxThreadDelete/code.js', 'u:dev:MediaWiki:AjaxUndo/code.js', 'u:dev:MediaWiki:FastDelete/code.js', 'u:dev:MediaWiki:ViewDeleted/code.js', 'u:dev:MediaWiki:AjaxDiff/code.js', 'u:dev:MediaWiki:MassCategorization/code.js', 'u:dev:MediaWiki:FastDelete/code.js', 'u:dev:MediaWiki:PatrolRC/code.js', 'u:dev:MediaWiki:PageMakerPro/code.js', 'u:dev:MediaWiki:PageEditInfo/code.js', 'u:dev:MediaWiki:RollbackSpamUserContribs/code.js', 'u:dev:MediaWiki:PortabilityShortcuts.js', 'u:dev:MediaWiki:TabKeyInserter/code.js', 'u:dev:MediaWiki:PortableCSSPad/code.js', 'u:dev:MediaWiki:AjaxThreadDelete/code.js', 'u:dev:MediaWiki:QuickCreateUserPage/code.js', 'u:dev:MediaWiki:GlobalEditcount/code.js', 'u:dev:MediaWiki:FastFileDelete.js', 'u:dev:MediaWiki:EditBio/code.js', 'u:dev:MediaWiki:LinkToDiscussionsProfileIfTheyDontHaveLivePosts/code.js', 'u:dev:MediaWiki:Discussions Delete All/code.js', 'u:dev:MediaWiki:DiscussionsViewer.js', 'u:dev:MediaWiki:FileLogs.js', 'u:dev:MediaWiki:UTCClock/code.js', 'u:dev:MediaWiki:MassRedirect/code.1.js', 'u:dev:MediaWiki:MobileEditor.js', 'u:dev:MediaWiki:DeleteUserpage.js', 'u:dev:MediaWiki:AnalyticsShortcut.js', 'u:dev:MediaWiki:AnnouncementsIgnore.js', 'u:dev:MediaWiki:RandomPageShortcut/code.js', 'u:dev:MediaWiki:CleanWantedFiles/code.js', 'u:dev:MediaWiki:VSTFReport.js', 'u:dev:MediaWiki:AjaxUserRights.js', 'u:dev:MediaWiki:AjaxBlock/code.js', 'u:dev:MediaWiki:QuickThreads/code.js', 'u:dev:MediaWiki:QuickAccessToCSSAndJS/code.js', 'u:dev:MediaWiki:AvatarLink.js', 'u:dev:MediaWiki:PowerDelete.js', 'u:dev:MediaWiki:MassBlock/code.js' ] }); window.configMessage = {    interval: 1500,    placement: {         element: "toolbar",         type: "prepend"    } };

//a