User:Skipdraw/global.js

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

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

//Uncreated category list in S:Cat if (mw.config.get("wgCanonicalSpecialPageName") === "Categories") { var $newCats = $(" ").css("float", "right").text("Uncreated categories:"); var $newCatsList = $("").appendTo($newCats); $(".mw-spcontent > ul").before($newCats); $(".mw-spcontent > ul > li").has(".newcategory").clone.appendTo($newCatsList); }

//Configs 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.BotManagementAdd = 'Enable'; window.BotManagementRemove = 'Disable'; window.AjaxCommentDeleteConfig = { fastDelete: "Removal ofspam/vandalism/inappropriate comment" }; window.AjaxDelete = { deleteReasons: { 'Vandalism': 'Vandalism', 'Spam': 'Spam', 'Inappropriate edit or comment': 'Inapp', 'Unused page or file': 'Unused', 'By user or admin request': 'Request' },   imageDeleteReasons: { 'Offensive': 'Offensive', 'Inappropriate': 'Inappropriate', 'Housekeeping/Unused': 'Unused', 'Copyright infringement': 'Copyright', },   autoCheckWatch: false, noUndelete: true, reload: true };

//Imports importArticles({   type: 'script',    articles: [        'u:community:User:Ursuul/AnalyticsToolbar.js',        'u:dev:FANSUN.js',        'u:dev:!bang/code.js',        'u:dev:CodeQuickLinks/code.js',        'u:dev:DiscussionsViewer.js',        'u:dev:MultipleFileDelete/code.js',        'u:dev:NewImages.js',        'u:dev:ShowUserGroups.js',        'u:dev:WhatLinksHere/code.js',        'u:dev:MediaWiki:AdminDashboard JS-Button/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:AjaxThreadDelete/code.js',        'u:dev:Medaiwiki:AjaxUndo/code.js',        'u:dev:MediaWiki:BotManagement.js',        'u:dev:MediaWiki:DiscussionsFeed.js',        'u:dev:MediaWiki:Discussions Delete All/code.js', 'u:dev:Mediawiki:GlobalEditcount/code.js', 'u:dev:MediaWiki:LastEdited/code.js', 'u:dev:MediaWiki:MassCategorization/code.js', 'u:dev:MediaWiki:MassEdit/code.js', 'u:dev:MediaWiki:MassProtect/code.js', 'u:dev:MediaWiki:Nuke/code.js', 'u:dev:MediaWiki:PortableCSSPad/code.js', 'u:dev:MediaWiki:QuickDelete/code.js', 'u:dev:MediaWiki:RevealAnonIP/usercode.js', 'u:dev:MediaWiki:Rollback/code.js', 'u:dev:MediaWiki:ToggleDebugMode/code.js', 'u:dev:MediaWiki:UnhideUserMasthead/code.js', 'u:dev:MediaWiki:ViewDeleted/code.js', 'u:dev:MediaWiki:ViewRemoved/code.js', 'u:dev:MediaWiki:WHAM/code.2.js', ] });