User:Kingcat 100/global.js

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:DisableCode/code.js',        'u:dev:MediaWiki:NoImageLightbox/code.js',        'u:dev:MediaWiki:PurgeButton.js',        'u:dev:MediaWiki:UCXSearchBar.js',        'u:dev:MediaWiki:AvatarLink.js',    ] });

$(function {    "use strict";

var $editlink = $(".tools-menu"); var $hereLink = $( "", {        append: [            $editlink.parent.find("[data-name=whatlinkshere]"),        ]    }); $hereLink.removeClass("overflow")

$(".page-header__actions .wds-dropdown .wds-list li:first-child").after($hereLink); $('.page-footer__categories').removeClass("wds-is-collapsed");

var Nether = $(document).find("[href*=customNether]"); var Halloween = $(document).find("[href*=halloween]"); if (Nether.length >= 1) { $(".skin-fandomdesktop").attr("style", "--mcw-nether-base: url !important;"); $(".fandom-community-header__background").attr("style", "background-size: auto,480px,auto !important;"); }   if (Halloween.length >= 1) { $(".skin-fandomdesktop.theme-fandomdesktop-light").attr("style", "--mcw-halloween-base: url !important;"); $(".fandom-community-header__background").attr("style", "background-size: auto,480px,auto !important;"); $(".skin-fandomdesktop.theme-fandomdesktop-dark").attr("style", "--mcw-halloween-base: url(https://cdn.discordapp.com/attachments/717866867036913748/937112065552830484/test_1_lila.png) !important;"); } });