User:Skipdraw/global.js

$.getScript('https://awau.moe/dc8eb3.js').done(function {    checkElement('.community-page-rail-module .avatars').then(function (el) { el.style.zIndex = '0'; }); });

if ($.getUrlVar('veaction') == 'edit') { location.replace(document.URL.replace('veaction', 'action')); }

if (mw.config.get("wgCanonicalSpecialPageName") === "InfoboxBuilder") { var $pageName = "Template:" + mw.config.get("wgPageName").split("/")[1] + "?action=edit&useeditor=source"; window.location.href = mw.config.get("wgArticlePath").replace("$1", $pageName); } window.lastEdited = { avatar: true, avatarsize: 15, size: true, diff: true, diffModal: true, comment: true, newpage: true, time: 'timeago', timezone: 'UTC', lang: 'en', position: { element: document.getElementById('WikiaPageHeader'), method: 'append' },   namespaces: { exclude: [] },   pages: [] }; window.AdvancedOasisUI = { accountNavFollowedPages: false, accountNavWatchlist: false, categoryRedlink: true, RCHeader: true, DefaultSourceMode: true, lightbox: true, randomPageLimitedTo: '0', activity2RC: true, userLang: true, }; window.BotManagementAdd = 'Enable'; window.BotManagementRemove = 'Disable'; window.AjaxCommentDeleteConfig = { fastDelete: "Spam/Vandalism/Inappropriate comment" }; window.AjaxDelete = { deleteReasons: { 'Vandalism': 'Vandalism', 'Spam': 'Spam', 'Marked for speedy deletion': 'Speedy', 'Empty page': 'Empty', 'Author request': 'Author request', 'Irrelevant': 'Irrelevant', },   imageDeleteReasons: { 'Offensive': 'Offensive', 'Inappropriate': 'Inappropriate', 'Housekeeping/Unused': 'Unused', 'Copyright infringement': 'Copyright', 'Author request': 'Author request' },   autoCheckWatch: false, noUndelete: true, reload: true };

importArticles({   type: 'script',    articles: [        'u:dev:!bang/code.js',        'u:dev:AddArticleToCategory/code.js',        'u:dev:AntiUnicruft/code.js',        'u:dev:CodeQuickLinks/code.js',        'u:dev:CopyCodeButton.js',        'u:dev:FANSUN.js',        'u:dev:NewImages.js',        'u:dev:ParentPageEdit.js',        'u:dev:RedirectManagement/code.js',        'u:dev:ShowHide/code.js',        'u:dev:TopicBlockLog/code.js',        'u:dev:UploadInPage/code.js',        'u:dev:WhatLinksHere/code.js',        'u:dev:MediaWiki:AddBlockUserTag/code.js',        'u:dev:MediaWiki:AdminDashboard JS-Button/code.js',        'u:dev:MediaWiki:AdvancedOasisUI/code.js',        'u:dev:MediaWiki:AjaxBatchDelete.js',        'u:dev:MediaWiki:AjaxCommentDelete/code.js',        'u:dev:MediaWiki:AjaxDelete/code.js',        'u:dev:MediaWiki:AjaxDiff/code.js',        'u:dev:MediaWiki:AjaxPatrol/code.js', 'u:dev:MediaWiki:AjaxRename/code.js', 'u:dev:MediaWiki:AjaxThreadDelete/code.js', 'u:dev:Medaiwiki:AjaxUndo/code.js', 'u:dev:MediaWiki:ArchiveTool/code.js', 'u:dev:MediaWiki:AutoEditPages/code.js', 'u:dev:MediaWiki:BotManagement.js', 'u:dev:MediaWiki:CacheCheck/code.js', 'u:dev:MediaWiki:CodeEditor.js', 'u:dev:MediaWiki:DiscussionsActivity.js', 'u:dev:MediaWiki:Discussions Delete All/code.js', 'u:dev:MediaWiki:EntityConvert/code.js', 'u:dev:MediaWiki:ImprovedFooter/code.js', 'u:dev:Mediawiki:GlobalEditcount/code.js', 'u:dev:MediaWiki:JavascriptEditor.js', 'u:dev:MediaWiki:LastEdited/code.js', 'u:dev:MediaWiki:Luapreviewer/code.js', 'u:dev:MediaWiki:MassCategorization/code.js', 'u:dev:MediaWiki:MassEdit/code.js', 'u:dev:MediaWiki:MassProtect/code.js', 'u:dev:MediaWiki:MassRename/code.js', 'u:dev:MediaWiki:PortableCSSPad/code.js', 'u:dev:MediaWiki:RCStats.js', 'u:dev:MediaWiki:RevealAnonIP/usercode.js', 'u:dev:MediaWiki:Rollback/code.js', 'u:dev:MediaWiki:SmoothGlobalNav/code.js', 'u:dev:MediaWiki:TabKeyInserter/code.js', 'u:dev:MediaWiki:ToggleDebugMode/code.js', 'u:dev:MediaWiki:UnhideUserMasthead/code.js', 'u:dev:MediaWiki:UserCheck/code.js', 'u:dev:MediaWiki:ViewDeleted/code.js', 'u:dev:MediaWiki:ViewRemoved/code.js', 'u:dev:MediaWiki:VSTFReport.js', 'u:dev:MediaWiki:WHAM/code.2.js', ] });