User:Aeywoo/global.js

// Official Wiki Badge Where Ever The Fuck I Want It Because Fuck You, Bitch. By your Mother & I. mw.loader.using(["mediawiki.api"]).then(function {   "use strict";    // Checks if the fucking SVG exists or not    var queryThisBitch = document.querySelector(".main-container .community-header-wrapper");    var queryThisFilthyCasual = document.querySelector(".main-container .fandom-community-header__community-name-wrapper svg.official-wiki-badge");    if ((queryThisFilthyCasual) && (queryThisBitch)) {        return;    // If this bitch identifies as wikia/dev then I'd smash, if she identifies as fandom/soap then yeah nah maybe later.    } if ((mw.config.get("wgWikiID") == "wikia") || (mw.config.get("wgWikiID") == "dev") || (mw.config.get("wgWikiID") == "vstf") || (mw.config.get("wgWikiID") == "help_gamepedia") || (mw.config.get("wgWikiID") == "ucpinternalteststartercommons") || (mw.config.get("wgWikiID") == "infobox")) {            var officialBadge = $("  "); $(".main-container .fandom-community-header__top-container .fandom-community-header__community-name-wrapper").append(officialBadge); } });

// GamepediaTheme.js, by Sophiedp, Arashiryuu0 and Aeywoo mw.loader.using(["mediawiki.api"]).then(function {   // Checks if the wiki is a Gamepedia Wiki    if ($(document.body).hasClass("is-gamepedia") !== true) {        return;    }    // Since the footer doesn't exist in edit or submit mode, return    if ($(document.body).hasClass("action-edit")) {        return;    } else if ($(document.body).hasClass("action-submit")) {        return;    }    // Prevents double loading    if ($(document.body).hasClass("gamepedia-footer")) {        return;    }    var footerClass = $(document.body).addClass("gamepedia-footer");    // -- Internationalization Function -- //    function init(i18n) {        var footer_link_curse          = i18n.msg("footer-link-curse").plain;        var footer_link_gamepedia      = i18n.msg("footer-link-gamepedia").plain;        var footer_link_wikiconnect    = i18n.msg("footer-link-wikiconnect").plain;        var footer_gpwikis_header      = i18n.msg("footer-gpwikis-header").plain; var footer_gpwikis_minecraft  = i18n.msg("footer-gpwikis-minecraft").plain; var footer_gpwikis_terraria   = i18n.msg("footer-gpwikis-terraria").plain; var footer_gpwikis_zelda      = i18n.msg("footer-gpwikis-zelda").plain; var footer_curse_apps_header  = i18n.msg("footer-curse-apps-header").plain; var footer_curse_apps_desc    = i18n.msg("footer-curse-apps-desc").plain; var footer_bottom_bar = i18n.msg("footer-bottom-bar", mw.config.get("wgSiteName")).plain; var special_search_title      = i18n.msg("special-search-title").plain; // -- Global Navigation Icons/Logos -- // /// "Fandom.com" to "Curse.com" $(".is-gamepedia h2.global-footer__header a") .attr("href", "http://www.curse.com/") .attr("title", (footer_link_curse)) .attr("aria-label", (footer_link_curse)); /// "Fandom.com" to "Gamepedia.com" $(".is-gamepedia .global-navigation__logo") .attr("href", "https://www.gamepedia.com/") .attr("title", (footer_link_gamepedia)) .attr("aria-label", (footer_link_gamepedia)); // -- Explore Properties Section -- // $('.is-gamepedia .global-footer__link[data-tracking-label="explore.fandom"]') .attr("href", "https://www.gamepedia.com/") .attr("data-tracking-label", "explore.gamepedia") .attr("aria-label", (footer_link_gamepedia)) .text(footer_link_gamepedia); // -- Gamepedia Wikis Section -- // $(".is-gamepedia section.global-footer__section.global-footer__section-advertise").remove; var gpWikisSection = $(" ") .addClass("global-footer__section") .addClass("global-footer__section-gamepedia-wikis"); var gpWikisHeader = $(" ") .addClass("global-footer__section-header") .text(footer_gpwikis_header); var gpWikisList = $("") .addClass("global-footer__links"); var gpWikisListItem1 = $("") .attr("href","https://minecraft.fandom.com/wiki/Minecraft_Wiki") .addClass("global-footer__link") .attr("data-tracking-label","gampedia-wikis.minecraft") .attr("aria-label", (footer_gpwikis_minecraft)) .text(footer_gpwikis_minecraft); var gpWikisListItem2 = $("") .attr("href","https://terraria.fandom.com/wiki/Terraria Wiki") .addClass("global-footer__link") .attr("data-tracking-label","gampedia-wikis.terraria") .attr("aria-label", (footer_gpwikis_terraria)) .text(footer_gpwikis_terraria); var gpWikisListItem3 = $("") .attr("href","https://zelda.fandom.com/wiki/Main_Page") .addClass("global-footer__link") .attr("data-tracking-label","gampedia-wikis.zelda") .attr("aria-label", (footer_gpwikis_zelda)) .text(footer_gpwikis_zelda); var footerThirdDiv = document.querySelector(".is-gamepedia footer.global-footer .global-footer__content div:nth-child(3)"); $(footerThirdDiv).append(gpWikisSection); $(gpWikisSection).append(gpWikisHeader,gpWikisList); $(gpWikisList).append($(""),$(""),$("")); $(".is-gamepedia section.global-footer__section.global-footer__section-gamepedia-wikis > ul > li:nth-child(1)").append(gpWikisListItem1); $(".is-gamepedia section.global-footer__section.global-footer__section-gamepedia-wikis > ul > li:nth-child(2)").append(gpWikisListItem2); $(".is-gamepedia section.global-footer__section.global-footer__section-gamepedia-wikis > ul > li:nth-child(3)").append(gpWikisListItem3); // -- Fandom Apps (Curse Apps) Section -- // var gpFooter = document.querySelector(".is-gamepedia .global-footer__section-fandom-apps h3"); if (gpFooter) { gpFooter.textContent = (footer_curse_apps_header); gpFooter.nextSibling.nodeValue = (footer_curse_apps_desc); }       // -- Global Footer Bottom Bar -- // $(".is-gamepedia .global-footer__bottom > div:first-child").text(footer_bottom_bar); // -- Community Section -- // $('.is-gamepedia .global-footer__link[data-tracking-label="community.community-central"]') .attr("href", "https://web.archive.org/web/20210803141801/https://www.gamepedia.com/wikiconnect") .attr("data-tracking-label", "community.wikiconnect") .attr("aria-label", (footer_link_wikiconnect)) .text(footer_link_wikiconnect); $('.is-gamepedia .global-footer__link[data-tracking-label="community.help"]') .attr("href", "https://help.fandom.com/wiki/Gamepedia_Help_Wiki"); var title_special_search = document.querySelector(".rootpage-Special_Search.is-gamepedia .page-header__title-wrapper h1.page-header__title"); if ((title_special_search) !== true) { // -- Special:Search -- // $(".rootpage-Special_Search.is-gamepedia .page-header__title-wrapper h1.page-header__title").text(special_search_title); }       var title_special_search_community = document.querySelector(".rootpage-Special_SearchCommunity.is-gamepedia .page-header__title-wrapper h1.page-header__title"); if ((title_special_search_community) !== true ) { // -- Special:SearchCommunity -- // $(".rootpage-Special_SearchCommunity.is-gamepedia .page-header__title-wrapper h1.page-header__title").text(special_search_title); }   }    // -- Wiki Community Header -- // var queryHeaderWrapper = document.querySelector(".main-container .community-header-wrapper"); var queryOfficialWikiBadge = document.querySelector(".main-container .fandom-community-header__community-name-wrapper svg.official-wiki-badge"); if ($(document.body).hasClass("is-gamepedia") && (queryHeaderWrapper) && (queryOfficialWikiBadge)) { var gamepediaWikiBadge = $("<path fill=\"#F58120\" d=\"M96.07 2.93C94.26 1.12 91.76 0 89 0H10C9.48 0 8.96 0.25 8.65 0.75C8.34 1.23 7.83 1.49 7.29 1.49C7.04 1.49 6.79 1.43 6.55 1.31C6.31 1.18 6.05 1.12 5.8 1.12C4.98 1.12 4.24 1.76 4.2 2.66C4.17 3.5 3.5 4.17 2.66 4.2C1.76 4.24 1.12 4.98 1.12 5.8C1.12 6.05 1.18 6.31 1.31 6.55C1.43 6.79 1.49 7.04 1.49 7.29C1.49 7.83 1.23 8.34 0.75 8.65C0.25 8.96 0 9.48 0 10C0 10.52 0.25 11.04 0.75 11.35C1.23 11.66 1.49 12.17 1.49 12.71C1.49 12.96 1.43 13.21 1.31 13.45C1.18 13.69 1.12 13.95 1.12 14.2C1.12 15.02 1.76 15.76 2.66 15.8C3.5 15.83 4.17 16.5 4.2 17.34C4.24 18.24 4.98 18.88 5.8 18.88C6.05 18.88 6.31 18.82 6.55 18.69C6.79 18.57 7.04 18.51 7.29 18.51C7.83 18.51 8.34 18.77 8.65 19.25C8.96 19.75 9.48 20 10 20H89C94.52 20 99 15.52 99 10C99 7.24 97.88 4.74 96.07 2.93ZM8.92 17.4C8.67 17.02 8.26 16.8 7.83 16.8C7.63 16.8 7.43 16.85 7.24 16.95C7.04 17.05 6.84 17.1 6.64 17.1C5.99 17.1 5.39 16.59 5.36 15.87C5.33 15.2 4.8 14.67 4.13 14.64C3.41 14.61 2.9 14.01 2.9 13.36C2.9 13.16 2.95 12.96 3.05 12.76C3.15 12.57 3.2 12.37 3.2 12.17C3.2 11.74 2.98 11.33 2.6 11.08C2.2 10.83 2 10.42 2 10C2 9.58 2.2 9.17 2.6 8.92C2.98 8.67 3.2 8.26 3.2 7.83C3.2 7.63 3.15 7.43 3.05 7.24C2.95 7.04 2.9 6.84 2.9 6.64C2.9 5.99 3.41 5.39 4.13 5.36C4.8 5.33 5.33 4.8 5.36 4.13C5.39 3.41 5.99 2.9 6.64 2.9C6.84 2.9 7.04 2.95 7.24 3.05C7.43 3.15 7.63 3.2 7.83 3.2C8.26 3.2 8.67 2.98 8.92 2.6C9.17 2.2 9.58 2 10 2C10.42 2 10.83 2.2 11.08 2.6C11.44 3.16 12.17 3.36 12.76 3.05C12.96 2.95 13.16 2.9 13.36 2.9C14.01 2.9 14.61 3.41 14.64 4.13C14.67 4.8 15.2 5.33 15.87 5.36C16.59 5.39 17.1 5.99 17.1 6.64C17.1 6.84 17.05 7.04 16.95 7.24C16.85 7.43 16.8 7.63 16.8 7.83C16.8 8.26 17.02 8.67 17.4 8.92C17.8 9.17 18 9.58 18 10C18 10.42 17.8 10.83 17.4 11.08C17.02 11.33 16.8 11.74 16.8 12.17C16.8 12.37 16.85 12.57 16.95 12.76C17.05 12.96 17.1 13.16 17.1 13.36C17.1 14.01 16.59 14.61 15.87 14.64C15.2 14.67 14.67 15.2 14.64 15.87C14.61 16.59 14.01 17.1 13.36 17.1C13.16 17.1 12.96 17.05 12.76 16.95C12.57 16.85 12.37 16.8 12.17 16.8C11.74 16.8 11.33 17.02 11.08 17.4C10.83 17.8 10.42 18 10 18C9.58 18 9.17 17.8 8.92 17.4ZM89 18H15.63C15.73 17.81 15.79 17.58 15.8 17.34C15.83 16.5 16.5 15.83 17.34 15.8C18.24 15.76 18.88 15.02 18.88 14.2C18.88 13.95 18.82 13.69 18.69 13.45C18.57 13.21 18.51 12.96 18.51 12.71C18.51 12.17 18.77 11.66 19.25 11.35C19.75 11.04 20 10.52 20 10C20 9.48 19.75 8.96 19.25 8.65C18.77 8.34 18.51 7.83 18.51 7.29C18.51 7.04 18.57 6.79 18.69 6.55C18.82 6.31 18.88 6.05 18.88 5.8C18.88 4.98 18.24 4.24 17.34 4.2C16.5 4.17 15.83 3.5 15.8 2.66C15.79 2.42 15.73 2.19 15.63 2H89C93.41 2 97 5.59 97 10C97 14.41 93.41 18 89 18Z\"/><path fill=\"#FFF\" d=\"M24.9201 12.33C24.3901 11.88 24.1101 11.23 24.0701 10.36 24.0601 10.18 24.0601 9.9 24.0601 9.52 24.0601 9.14 24.0601 8.86 24.0701 8.67 24.1001 7.81 24.3801 7.15 24.9201 6.69 25.4701 6.24 26.1901 6 27.1001 6 28.0001 6 28.7201 6.23 29.2601 6.69 29.8001 7.15 30.0801 7.81 30.1101 8.67 30.1201 9.05 30.1301 9.33 30.1301 9.52 30.1301 9.71 30.1201 9.99 30.1101 10.36 30.0801 11.23 29.8001 11.89 29.2701 12.33 28.7401 12.78 28.0201 13 27.1001 13 26.1801 13 25.4501 12.78 24.9201 12.33zM27.9001 11.24C28.1001 11.04 28.2101 10.72 28.2201 10.3 28.2301 9.92 28.2401 9.65 28.2401 9.49 28.2401 9.33 28.2301 9.07 28.2201 8.7 28.2101 8.28 28.1001 7.97 27.9001 7.76 27.7001 7.56 27.4301 7.45 27.0901 7.45 26.7501 7.45 26.4701 7.55 26.2701 7.76 26.0701 7.96 25.9601 8.28 25.9501 8.7 25.9401 8.88 25.9401 9.14 25.9401 9.49 25.9401 9.84 25.9401 10.11 25.9501 10.3 25.9601 10.72 26.0701 11.03 26.2701 11.24 26.4701 11.44 26.7401 11.55 27.0901 11.55 27.4401 11.55 27.7001 11.44 27.9001 11.24zM31.3 12.8296C31.25 12.7796 31.23 12.7296 31.23 12.6596V6.34961C31.23 6.27961 31.25 6.21961 31.3 6.16961 31.35 6.11961 31.4 6.09961 31.47 6.09961H35.99C36.06 6.09961 36.12 6.12961 36.17 6.16961 36.22 6.21961 36.24 6.27961 36.24 6.34961V7.37961C36.24 7.44961 36.22 7.50961 36.17 7.55961 36.12 7.60961 36.06 7.62961 35.99 7.62961H33.02V8.97961H35.8C35.87 8.97961 35.93 9.00961 35.98 9.04961 36.03 9.09961 36.05 9.15961 36.05 9.22961V10.2596C36.05 10.3296 36.03 10.3896 35.98 10.4396 35.93 10.4896 35.87 10.5096 35.8 10.5096H33.02V12.6696C33.02 12.7296 33 12.7896 32.95 12.8396 32.9 12.8896 32.85 12.9096 32.78 12.9096H31.48C31.41 12.9096 31.35 12.8796 31.3 12.8296zM37.34 12.8296C37.29 12.7796 37.27 12.7296 37.27 12.6596V6.34961C37.27 6.27961 37.29 6.21961 37.34 6.16961 37.39 6.11961 37.44 6.09961 37.51 6.09961H42.03C42.1 6.09961 42.16 6.12961 42.21 6.16961 42.26 6.21961 42.28 6.27961 42.28 6.34961V7.37961C42.28 7.44961 42.26 7.50961 42.21 7.55961 42.16 7.60961 42.1 7.62961 42.03 7.62961H39.06V8.97961H41.84C41.91 8.97961 41.97 9.00961 42.02 9.04961 42.07 9.09961 42.09 9.15961 42.09 9.22961V10.2596C42.09 10.3296 42.07 10.3896 42.02 10.4396 41.97 10.4896 41.91 10.5096 41.84 10.5096H39.06V12.6696C39.06 12.7296 39.04 12.7896 38.99 12.8396 38.94 12.8896 38.89 12.9096 38.82 12.9096H37.52C37.45 12.9096 37.39 12.8796 37.34 12.8296zM43.3801 12.8296C43.3301 12.7796 43.3101 12.7296 43.3101 12.6596V6.33961C43.3101 6.26961 43.3301 6.20961 43.3801 6.16961 43.4301 6.11961 43.4801 6.09961 43.5501 6.09961H44.9401C45.0101 6.09961 45.0701 6.11961 45.1101 6.16961 45.1601 6.21961 45.1801 6.26961 45.1801 6.33961V12.6596C45.1801 12.7196 45.1601 12.7796 45.1101 12.8296 45.0601 12.8796 45.0101 12.8996 44.9401 12.8996H43.5501C43.4801 12.9096 43.4301 12.8796 43.3801 12.8296zM47.14 12.33C46.61 11.88 46.33 11.23 46.3 10.37 46.29 10.19 46.29 9.91 46.29 9.51 46.29 9.11 46.29 8.82 46.3 8.63 46.33 7.79 46.62 7.14 47.15 6.68 47.69 6.23 48.41 6 49.32 6 49.9 6 50.42 6.09 50.87 6.28 51.33 6.47 51.69 6.74 51.95 7.1 52.22 7.46 52.35 7.88 52.37 8.36 52.37 8.42 52.35 8.47 52.31 8.51 52.27 8.55 52.22 8.57 52.16 8.57H50.78C50.69 8.57 50.62 8.55 50.58 8.52 50.54 8.48 50.5 8.42 50.47 8.32 50.38 8 50.24 7.78 50.06 7.65 49.88 7.52 49.63 7.46 49.33 7.46 48.6 7.46 48.22 7.87 48.19 8.68 48.18 8.86 48.18 9.12 48.18 9.49 48.18 9.86 48.18 10.13 48.19 10.32 48.22 11.14 48.6 11.55 49.33 11.55 49.63 11.55 49.87 11.49 50.06 11.36 50.25 11.23 50.39 11.01 50.47 10.7 50.5 10.6 50.53 10.54 50.58 10.5 50.63 10.46 50.69 10.45 50.78 10.45H52.16C52.22 10.45 52.27 10.47 52.31 10.51 52.35 10.55 52.37 10.6 52.37 10.66 52.36 11.15 52.22 11.57 51.95 11.92 51.68 12.28 51.32 12.55 50.87 12.74 50.42 12.91 49.9 13 49.32 13 48.4 13 47.67 12.78 47.14 12.33zM53.4401 12.8296C53.3901 12.7796 53.3701 12.7296 53.3701 12.6596V6.33961C53.3701 6.26961 53.3901 6.20961 53.4401 6.16961 53.4901 6.11961 53.5401 6.09961 53.6101 6.09961H55.0001C55.0701 6.09961 55.1301 6.11961 55.1701 6.16961 55.2201 6.21961 55.2401 6.26961 55.2401 6.33961V12.6596C55.2401 12.7196 55.2201 12.7796 55.1701 12.8296 55.1201 12.8796 55.0701 12.8996 55.0001 12.8996H53.6101C53.5501 12.9096 53.4901 12.8796 53.4401 12.8296zM56.0502 12.8396C56.0102 12.7996 55.9902 12.7496 55.9902 12.6996 55.9902 12.6596 55.9902 12.6296 56.0002 12.6096L58.2702 6.37961C58.3302 6.18961 58.4602 6.09961 58.6602 6.09961H60.1802C60.3702 6.09961 60.5002 6.18961 60.5702 6.37961L62.8302 12.6096C62.8402 12.6296 62.8402 12.6596 62.8402 12.6996 62.8402 12.7496 62.8202 12.7996 62.7802 12.8396 62.7402 12.8796 62.6902 12.8996 62.6402 12.8996H61.3802C61.2202 12.8996 61.1102 12.8296 61.0502 12.6896L60.7002 11.7496H58.1502L57.8002 12.6896C57.7402 12.8296 57.6302 12.8996 57.4702 12.8996H56.2102C56.1402 12.9096 56.0902 12.8896 56.0502 12.8396zM58.5402 10.2896H60.2702L59.4002 7.80961 58.5402 10.2896zM63.6398 12.8296C63.5898 12.7796 63.5698 12.7296 63.5698 12.6596V6.33961C63.5698 6.26961 63.5898 6.20961 63.6398 6.16961 63.6898 6.11961 63.7398 6.09961 63.8098 6.09961H65.1698C65.2398 6.09961 65.2998 6.11961 65.3498 6.16961 65.3998 6.21961 65.4198 6.26961 65.4198 6.33961V11.3796H68.3398C68.4098 11.3796 68.4698 11.3996 68.5198 11.4496 68.5698 11.4996 68.5898 11.5596 68.5898 11.6296V12.6596C68.5898 12.7296 68.5698 12.7896 68.5198 12.8396 68.4698 12.8896 68.4098 12.9096 68.3398 12.9096H63.8198C63.7498 12.9096 63.6898 12.8796 63.6398 12.8296zM71.9703 12.8096C71.9003 12.7496 71.8603 12.6696 71.8503 12.5796L70.8103 6.35961C70.8003 6.34961 70.8003 6.32961 70.8003 6.30961 70.8003 6.25961 70.8203 6.20961 70.8603 6.16961 70.9003 6.12961 70.9503 6.10961 71.0003 6.10961H72.2703C72.4603 6.10961 72.5603 6.18961 72.5803 6.32961L73.1803 9.99961 73.8503 7.86961C73.9003 7.68961 74.0103 7.60961 74.1703 7.60961H74.9003C75.0603 7.60961 75.1703 7.69961 75.2203 7.86961L75.8903 9.98961 76.4903 6.31961C76.5003 6.23961 76.5303 6.18961 76.5803 6.14961 76.6303 6.11961 76.7003 6.09961 76.8003 6.09961H78.0703C78.1303 6.09961 78.1803 6.11961 78.2203 6.15961 78.2603 6.19961 78.2803 6.24961 78.2803 6.29961V6.35961L77.2403 12.5796C77.2303 12.6696 77.1803 12.7496 77.1103 12.8096 77.0403 12.8696 76.9503 12.8996 76.8503 12.8996H75.8703C75.7703 12.8996 75.6803 12.8696 75.6303 12.8196 75.5703 12.7696 75.5303 12.7096 75.5103 12.6496L74.5503 9.95961 73.5903 12.6496C73.5603 12.7096 73.5203 12.7696 73.4603 12.8196 73.4003 12.8696 73.3203 12.8996 73.2203 12.8996H72.2503C72.1303 12.9096 72.0403 12.8796 71.9703 12.8096zM79.32 12.8296C79.27 12.7796 79.25 12.7296 79.25 12.6596V6.33961C79.25 6.26961 79.27 6.20961 79.32 6.16961 79.37 6.11961 79.42 6.09961 79.49 6.09961H80.88C80.95 6.09961 81.01 6.11961 81.06 6.16961 81.11 6.21961 81.13 6.26961 81.13 6.33961V12.6596C81.13 12.7196 81.11 12.7796 81.06 12.8296 81.01 12.8796 80.96 12.8996 80.88 12.8996H79.49C79.43 12.9096 79.37 12.8796 79.32 12.8296zM82.5202 12.8296C82.4702 12.7796 82.4502 12.7296 82.4502 12.6596V6.34961C82.4502 6.27961 82.4702 6.21961 82.5202 6.16961 82.5702 6.11961 82.6202 6.09961 82.7002 6.09961H84.0002C84.0702 6.09961 84.1302 6.12961 84.1702 6.16961 84.2202 6.21961 84.2402 6.27961 84.2402 6.34961V8.46961L85.9602 6.28961C86.0302 6.15961 86.1602 6.09961 86.3402 6.09961H87.8302C87.8802 6.09961 87.9302 6.11961 87.9702 6.15961 88.0102 6.19961 88.0302 6.24961 88.0302 6.29961 88.0302 6.34961 88.0202 6.38961 87.9902 6.41961L85.7202 9.35961 88.1702 12.5896C88.2002 12.6196 88.2102 12.6496 88.2102 12.7096 88.2102 12.7696 88.1902 12.8096 88.1502 12.8496 88.1102 12.8896 88.0602 12.9096 88.0002 12.9096H86.4702C86.3702 12.9096 86.2802 12.8896 86.2202 12.8496 86.1602 12.8096 86.1102 12.7696 86.0802 12.7196L84.2302 10.3496V12.6696C84.2302 12.7296 84.2102 12.7896 84.1602 12.8396 84.1102 12.8896 84.0602 12.9096 83.9902 12.9096H82.6902C82.6302 12.9096 82.5702 12.8796 82.5202 12.8296zM89.0202 12.8296C88.9702 12.7796 88.9502 12.7296 88.9502 12.6596V6.33961C88.9502 6.26961 88.9702 6.20961 89.0202 6.16961 89.0702 6.11961 89.1202 6.09961 89.1902 6.09961H90.5802C90.6502 6.09961 90.7102 6.11961 90.7602 6.16961 90.8102 6.21961 90.8302 6.26961 90.8302 6.33961V12.6596C90.8302 12.7196 90.8102 12.7796 90.7602 12.8296 90.7102 12.8796 90.6602 12.8996 90.5802 12.8996H89.1902C89.1202 12.9096 89.0602 12.8796 89.0202 12.8296z\"/><path fill=\"#121212\" d=\"M18 10C18 10.42 17.8 10.83 17.4 11.08C17.02 11.33 16.8 11.74 16.8 12.17C16.8 12.37 16.85 12.57 16.95 12.76C17.05 12.96 17.1 13.16 17.1 13.36C17.1 14.01 16.59 14.61 15.87 14.64C15.2 14.67 14.67 15.2 14.64 15.87C14.61 16.59 14.01 17.1 13.36 17.1C13.16 17.1 12.96 17.05 12.76 16.95C12.57 16.85 12.37 16.8 12.17 16.8C11.74 16.8 11.33 17.02 11.08 17.4C10.83 17.8 10.42 18 10 18C9.58 18 9.17 17.8 8.92 17.4C8.67 17.02 8.26 16.8 7.83 16.8C7.63 16.8 7.43 16.85 7.24 16.95C7.04 17.05 6.84 17.1 6.64 17.1C5.99 17.1 5.39 16.59 5.36 15.87C5.33 15.2 4.8 14.67 4.13 14.64C3.41 14.61 2.9 14.01 2.9 13.36C2.9 13.16 2.95 12.96 3.05 12.76C3.15 12.57 3.2 12.37 3.2 12.17C3.2 11.74 2.98 11.33 2.6 11.08C2.2 10.83 2 10.42 2 10C2 9.58 2.2 9.17 2.6 8.92C2.98 8.67 3.2 8.26 3.2 7.83C3.2 7.63 3.15 7.43 3.05 7.24C2.95 7.04 2.9 6.84 2.9 6.64C2.9 5.99 3.41 5.39 4.13 5.36C4.8 5.33 5.33 4.8 5.36 4.13C5.39 3.41 5.99 2.9 6.64 2.9C6.84 2.9 7.04 2.95 7.24 3.05C7.43 3.15 7.63 3.2 7.83 3.2C8.26 3.2 8.67 2.98 8.92 2.6C9.17 2.2 9.58 2 10 2C10.42 2 10.83 2.2 11.08 2.6C11.44 3.16 12.17 3.36 12.76 3.05C12.96 2.95 13.16 2.9 13.36 2.9C14.01 2.9 14.61 3.41 14.64 4.13C14.67 4.8 15.2 5.33 15.87 5.36C16.59 5.39 17.1 5.99 17.1 6.64C17.1 6.84 17.05 7.04 16.95 7.24C16.85 7.43 16.8 7.63 16.8 7.83C16.8 8.26 17.02 8.67 17.4 8.92C17.8 9.17 18 9.58 18 10Z\"/><path fill=\"#F58120\" d=\"M 7.961872,9.3949837 9.5838165,14.79016 13.74824,12.563199 13.98936,7.8568002 Z M 12.5428,12.471359 c -0.19728,0.18368 -0.4384,0.2296 -0.56992,0.36736 -0.08768,0.09184 -0.13152,0.229521 -0.13152,0.229521 -0.15336,-0.229521 -0.3068,-0.2984 -0.46024,-0.321361 -0.17536,-0.02296 -0.46032,0.06888 -0.89864,-0.25256 -0.30688,-0.20664 -0.37264,-0.528 -0.37264,-0.71168 v -0.02296 c 0,-0.02297 0,-0.02297 0,-0.04592 0,-0.02296 0,-0.04592 0,-0.06888 0.02192,-0.18368 0.13152,-0.36736 0.39456,-0.52808 0,0 -0.13152,0.29848 0.08768,0.574 0.13152,0.16072 0.37256,0.20664 0.526,0.04592 0.06576,-0.06888 0.1096,-0.18368 0.1096,-0.27552 0.02191,-0.20664 -0.02192,-0.39024 -0.19728,-0.50504 -0.28496,-0.18368 -0.37256,-0.48216 -0.24112,-0.6888 0,0 0.1096,0.3444 0.30688,0.29848 0.15344,-0.04592 0.15344,-0.20664 0.08768,-0.27552 -0.06576,-0.06888 -0.48216,-0.5509673 -0.02191,-1.0101268 0,0 0.263041,-0.2525365 0.613681,-0.321408 0.02192,0 0.02192,0 0.04385,0 -0.197201,0.068875 -0.416401,0.2525355 -0.46024,0.4821195 0,0 0,0 0,0.022955 -0.04385,0.252544 0.06576,0.4821205 0.241119,0.6658243 0.131441,0.13768 0.284881,0.25248 0.372561,0.48208 -0.08768,-0.02296 -0.15344,0.02296 -0.19728,0.09184 -0.04385,0.06888 -0.06576,0.18368 0,0.27552 0.04385,0.04592 0.08768,0.09184 0.15344,0.09184 0.02192,0 0.04385,0 0.06576,-0.02297 0,0 0.02191,0 0.02191,-0.02295 0.06576,-0.04592 0.1096,-0.16072 0.06576,-0.2296 0.06576,0.02295 0.1096,0.18368 0.1096,0.25256 0,0.09176 -0.02192,0.16064 -0.04385,0.25248 -0.02192,0.04592 -0.06576,0.1148 -0.06576,0.18368 -0.02191,0.06888 -0.02191,0.1148 -0.02191,0.18368 0,0.06888 0.02191,0.13776 0.06576,0.18368 0.13152,0.13776 0.30688,-0.06888 0.35072,-0.20664 0.04385,-0.18368 0,-0.36736 -0.13152,-0.50512 0,0 0.19728,0.06888 0.39448,0.43624 0.1096,0.29848 0,0.71168 -0.1972,0.89536 z\"/> "); $(queryOfficialWikiBadge).remove; $(".main-container .fandom-community-header__top-container .fandom-community-header__community-name-wrapper").append(gamepediaWikiBadge); }   // -- Overview Section -- // /// "Fandom.com/about" to "Gamepedia.com/about" $('.is-gamepedia .global-footer__link[data-tracking-label="company-overview.about"]') .attr("href", "https://www.gamepedia.com/about"); /// "Fandom.com/about#contact" to "Help.fandom.com/wiki/How_to_contact_Gamepedia" $('.is-gamepedia .global-footer__link[data-tracking-label="company-overview.contact"]') .attr("href", "https://help.fandom.com/wiki/How_to_contact_Gamepedia"); /// Remove "What is Fandom?" $('.is-gamepedia .global-footer__link[data-tracking-label="company-overview.what-is-fandom"]') .remove; // -- Fandom Apps Section -- // /// Duplication of the "Fandom Apps" section var curseforge_app_section = $(" ") .addClass("global-footer__section") .addClass("global-footer__section-curseforge-stores"); var curseforge_app_svg = $(' '); var curseforge_app_store = $("<ul>") .addClass("global-footer__links"); var curseforge_app_store_apple = $('<li><a href="https://download.curseforge.com/" class="global-footer__link" data-tracking-label="community-apps.windows-app" aria-label="CurseForge\'s Windows App"><img class="global-footer__link-icon" src="https://static.wikia.nocookie.net/central/images/4/48/Aeywoo_-_Get_It_On_Badge_Windows.png" alt="Get It On Windows"> </a></li>'); var curseforge_app_store_google = $('<li><a href="https://download.curseforge.com/" class="global-footer__link" data-tracking-label="community-apps.macos-app" aria-label="CurseForge\'s MacOS App"><img class="global-footer__link-icon" src="https://static.wikia.nocookie.net/central/images/b/b3/Aeywoo_-_Get_It_On_Badge_MacOS.png" alt="Get It On MacOS"> </a></li>'); // Extra defining for unnamed divisions var global_footer_content = document.querySelector(".is-gamepedia .global-footer .global-footer__content"); if (global_footer_content) { $(global_footer_content).children.last.append(curseforge_app_section); $(curseforge_app_section).append(curseforge_app_svg, curseforge_app_store); $(curseforge_app_store).append(curseforge_app_store_apple, curseforge_app_store_google); }   // -- Internationalization -- // mw.hook("dev.i18n").add(function(i18n) {       i18n.loadMessages("GamepediaTheme").done(init);    }); importArticles({       type: "script",        article: "u:dev:MediaWiki:I18n-js/code.js"    }); });

mw.loader.using("mediawiki.util").then(function {   // Modern2010Editor Talk Page Fix    if (window.location.search.search("section=new") !== -1) {        $("#wpSummaryLabel").detach.prependTo(".editOptions");    }    // 1. AjaxRC configuration options    window.ajaxRefresh = 30000;    // 2. ShowWROnToolbar configuration options    window.ShowWROnToolbarDisableCache = true;    // 3. MultiUpload configuration options    window.MultiUploadoption = {        max: 160,        defaultlicense: "Fairuse",        //defaultlicense: "From Wikimedia",    };    // 4. CustomizeAce configuration options    window.aceCustomSettings = {        wrap: true,        theme: "tomorrow_night",        tabSize: 4,        showInvisibles: false    };    // 5. AutoCreateUserPages configuration options    window.AutoCreateUserPagesConfig = {        content: {            2: "",            3: "",            1202: false },       summary: "Creating my user page." };   // 6. AnnouncementsIgnore configuration options window.announcementsIgnore = { option: "opt-out-all", exceptWikiIds: [ 177, // Community Wiki 7931, // Dev Wiki 10513, // Templates Wiki 751296, // Steam Trading Cards Wiki 922669, // Unturned Bunker Wiki 1752064, // Control Wiki 1995962, // Quantum Science Wiki (Roblox) 2293798, // Feed the Beast Wiki 2294162, // Gamepedia Help Wiki 2294461, // Minecraft Wiki 2295198, // Terra Nil Wiki 2743058, // PowerWash Simulator Wiki 2873388, // Don't Escape Wiki 2897673, // The Nuclear Blaze Wiki 2935621, // The Darkside Detective Wiki 3019914 // DOORS Wiki (Roblox) ]   };    // 7. Matrix configuration options window.MatrixConfig = { private: [ "https://aeywoo.fandom.com/", "https://doors-game.fandom.com/de/", "https://doors-game.fandom.com/es/", "https://doors-game.fandom.com/pt-br/", "https://doors-game.fandom.com/ru/", "https://doors-game.fandom.com/zh/" ]   };    // 8. CustomTools configuration options window.CustomTools = [ {           link: "Special:AllPages?namespace=8", placement: "my-tools", position: 0, text: "MediaWiki Pages" },       {            link: "Special:AllPages?namespace=10", placement: "my-tools", position: 1, text: "All Templates" },       {            link: "Special:AllPages?namespace=14", placement: "my-tools", position: 2, text: "All Categories" },       {            link: "https://www.w3schools.com/colors/colors_picker.asp", placement: "page-tools-right", position: 3, text: "Colour Picker" }   ];    // 9. GlobalNavButtons configuration options window.globalNavButtons = [{ text: "Wikis", url: "", icon: '<svg class="wds-icon"><use xlink:href="#wds-verticals-wikis"> ', isMain: true, shortName: "w" }, {           text: "SOAP Wiki", url: "https://soap.fandom.com/wiki/", whoIsMain: "w" }, {           text: "Developer Hub", url: "https://dev.fandom.com/wiki/", whoIsMain: "w" }, {           text: "Portability Hub", url: "https://portability.fandom.com/wiki/", whoIsMain: "w" }, {           text: "Templates Wiki", url: "https://templates.fandom.com/wiki/", whoIsMain: "w" }, {           text: "JustLeafy's Wiki", url: "https://justleafy.fandom.com/wiki/", whoIsMain: "w" }, {           text: "Fandom Commons", url: "https://commons.fandom.com/wiki/", whoIsMain: "w" }, {           text: "Community Central", url: "https://community.fandom.com/wiki/", whoIsMain: "w" }, {           text: "Adoption Requests", url: "https://community.fandom.com/wiki/Adoption:Requests", whoIsMain: "w" }, {           text: "Interlanguage link requests", url: "https://community.fandom.com/wiki/Community_Central:Interlanguage_link_requests", whoIsMain: "w" }, {           text: "UCP Internal Test Starter Wiki", url: "https://ucp-internal-test-starter.fandom.com/wiki/", whoIsMain: "w" }, {           text: "Games", url: "", icon: '<svg class="wds-icon"><use xlink:href="#wds-verticals-games"> ', isMain: true, shortName: "gw" }, {           text: "FTB Wiki", url: "https://ftb.fandom.com/wiki/", whoIsMain: "gw" }, {           text: "DOORS Wiki", url: "https://doors-game.fandom.com/wiki/", whoIsMain: "gw" }, {           text: "Control Wiki", url: "https://control.fandom.com/wiki/", whoIsMain: "gw" }, {           text: "Terra Nil Wiki", url: "https://terra-nil.fandom.com/wiki/", whoIsMain: "gw" }, {       	text: "Minecraft Wiki", url: "https://minecraft.fandom.com/wiki/", whoIsMain: "gw" }, {           text: "The Witness Wiki", url: "https://thewitness.fandom.com/wiki/", whoIsMain: "gw" }, {           text: "Unturned Bunker Wiki", url: "https://unturned.fandom.com/wiki/", whoIsMain: "gw" }, {           text: "The Don't Escape Wiki", url: "https://dont-escape.fandom.com/wiki/", whoIsMain: "gw" }, {           text: "The Nuclear Blaze Wiki", url: "https://nuclear-blaze.fandom.com/wiki/", whoIsMain: "gw" }, {           text: "Steam Trading Cards Wiki", url: "https://steamtradingcards.fandom.com/wiki/", whoIsMain: "gw" }, {           text: "PowerWash Simulator Wiki", url: "https://powerwash-simulator.fandom.com/wiki/", whoIsMain: "gw" }, {           text: "The Darkside Detective Wiki", url: "https://darkside-detective.fandom.com/wiki/", whoIsMain: "gw" }, {           text: "Global", url: "", icon: '<svg class="wds-icon"><svg width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.0000002,1.99896738 C17.523704,1.99896738 22.0015507,6.47681407 22.0015507,12.0005179 C22.0015507,17.5242217 17.523704,22.0020684 12.0000002,22.0020684 C6.47629639,22.0020684 1.99844971,17.5242217 1.99844971,12.0005179 C1.99844971,6.47681407 6.47629639,1.99896738 12.0000002,1.99896738 Z M14.9389045,16.5002571 L9.06109593,16.5002571 C9.71313678,18.9143799 10.8464883,20.5020684 12.0000002,20.5020684 C13.1535121,20.5020684 14.2868636,18.9143799 14.9389045,16.5002571 Z M7.50830976,16.5008106 L4.78582644,16.5006803 C5.744167,18.0337454 7.17761035,19.2393418 8.87999355,19.9113065 C8.35771536,19.0914835 7.92672586,18.0651949 7.60972411,16.8958162 L7.50830976,16.5008106 L7.50830976,16.5008106 Z M19.214174,16.5006803 L16.4916907,16.5008106 C16.167923,17.8345819 15.700316,19.000392 15.1189501,19.9113639 C16.7159251,19.2813431 18.0755983,18.1823607 19.0289676,16.7842422 L19.214174,16.5006803 L19.214174,16.5006803 Z M7.09342418,9.9998686 L3.73581796,9.9998686 L3.73581796,9.9998686 L3.73106043,10.0170734 C3.57897914,10.6534279 3.49844971,11.3175685 3.49844971,12.0005179 C3.49844971,13.0566718 3.69103899,14.0678442 4.04301473,15.000832 L7.21617552,15.0004667 C7.07387589,14.0513637 6.99844971,13.0431468 6.99844971,12.0005179 C6.99844971,11.3165055 7.03091285,10.6473039 7.09342418,9.9998686 Z M15.3969276,9.99993255 L8.60307281,9.99993255 C8.53505119,10.640197 8.49844971,11.3099099 8.49844971,12.0005179 C8.49844971,13.0600224 8.5845969,14.070347 8.73818201,15.000607 L15.2618184,15.000607 C15.4154035,14.070347 15.5015507,13.0600224 15.5015507,12.0005179 C15.5015507,11.3099099 15.4649492,10.640197 15.3969276,9.99993255 Z M20.2646076,9.999033 L16.9065762,9.99988793 C16.9690876,10.6473039 17.0015507,11.3165055 17.0015507,12.0005179 C17.0015507,13.0431468 16.9261245,14.0513637 16.7838249,15.0004667 L19.9569857,15.000832 C20.3089614,14.0678442 20.5015507,13.0566718 20.5015507,12.0005179 C20.5015507,11.3111121 20.4194915,10.6408723 20.2646076,9.999033 Z M8.88105029,4.0896719 L8.85814489,4.09838857 C6.81083065,4.91309834 5.15481653,6.500408 4.25014894,8.50027116 L7.29826946,8.50063757 C7.61162388,6.74784533 8.15846945,5.22192073 8.88105029,4.0896719 Z M12.0000002,3.49896738 L11.8843481,3.50426666 C10.6189068,3.62002448 9.39642826,5.62198962 8.82871306,8.50021862 L15.1712874,8.50021862 C14.6051632,5.63005613 13.3879407,3.63125276 12.1262908,3.50528435 L12.0000002,3.49896738 Z M15.1200069,4.08972931 L15.2268438,4.26382329 C15.8960528,5.37628985 16.4041675,6.83617446 16.701731,8.50063757 L19.7498515,8.50027116 C18.8852005,6.58886886 17.3342021,5.05432991 15.4112068,4.21100469 L15.1200069,4.08972931 Z">  ', // https://www.svgrepo.com/svg/309663/globe isMain: true, shortName: "gbl" }, {           text: "Preferences", url: mw.util.getUrl("Special:Preferences"), whoIsMain: "gbl" }, {           text: "Global CSS", url: "https://community.fandom.com/wiki/User:Aeywoo/global.css", whoIsMain: "gbl" }, {           text: "Global JS", url: "https://community.fandom.com/wiki/User:Aeywoo/global.js", whoIsMain: "gbl" }, {           text: "Subpages", url: mw.util.getUrl("Special:PrefixIndex/User:Aeywoo/"), whoIsMain: "gbl" }, {           text: "Sandbox", url: mw.util.getUrl("Special:MyPage/Sandbox"), whoIsMain: "gbl" }, {           text: "CSS/JS", url: "", icon: '<svg class="wds-icon"><svg width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M9 22h1v-2h-.989C8.703 19.994 6 19.827 6 16c0-1.993-.665-3.246-1.502-4C5.335 11.246 6 9.993 6 8c0-3.827 2.703-3.994 3-4h1V2H8.998C7.269 2.004 4 3.264 4 8c0 2.8-1.678 2.99-2.014 3L2 13c.082 0 2 .034 2 3 0 4.736 3.269 5.996 5 6zm13-11c-.082 0-2-.034-2-3 0-4.736-3.269-5.996-5-6h-1v2h.989c.308.006 3.011.173 3.011 4 0 1.993.665 3.246 1.502 4-.837.754-1.502 2.007-1.502 4 0 3.827-2.703 3.994-3 4h-1v2h1.002C16.731 21.996 20 20.736 20 16c0-2.8 1.678-2.99 2.014-3L22 11z"/> ', // Icon made by Freepik from https://www.flaticon.com/ isMain: true, shortName: "cj" }, {           text: "ImportJS", url: mw.util.getUrl("MediaWiki:ImportJS"), whoIsMain: "cj" }, {           text: "Common JS", url: mw.util.getUrl("MediaWiki:Common.js"), whoIsMain: "cj" }, {           text: "Common CSS", url: mw.util.getUrl("MediaWiki:Common.css"), whoIsMain: "cj" }, {           text: "Personal JS", url: mw.util.getUrl("User:Aeywoo/common.js"), whoIsMain: "cj" }, {           text: "Personal CSS", url: mw.util.getUrl("User:Aeywoo/common.css"), whoIsMain: "cj" }, {           text: "FandomDesktop JS", url: mw.util.getUrl("MediaWiki:Fandomdesktop.js"), whoIsMain: "cj" }, {           text: "FandomDesktop CSS", url: mw.util.getUrl("MediaWiki:Fandomdesktop.css"), whoIsMain: "cj" }, {           text: "Files", url: "", icon: '<svg class="wds-icon"><use xlink:href="#wds-icons-image"><svg id="wds-icons-image" viewBox="0 0 24 24"><use fill-rule="evenodd" xlink:href="#image-a"><path id="image-a" d="M3 21v-6.586l4-4 6.293 6.293a.999.999 0 0 0 1.414 0L18 13.414l3 3V21H3zM21 3v10.586l-2.293-2.293a.999.999 0 0 0-1.414 0L14 14.586 7.707 8.293a.999.999 0 0 0-1.414 0L3 11.586V3h18zm1-2H2a1 1 0 0 0-1 1v20a1 1 0 0 0 1 1h20a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zm-8 8c1.103 0 2-.897 2-2s-.897-2-2-2-2 .897-2 2 .897 2 2 2">    ', // https://www.svgrepo.com/svg/46114/upload isMain: true, shortName: "f" }, {           text: "Recent Changes", url: mw.util.getUrl("Special:RecentChanges"), whoIsMain: "f" }, {           text: "New Pages", url: mw.util.getUrl("Special:NewPages"), whoIsMain: "f" }, {           text: "New Files", url: mw.util.getUrl("Special:NewFiles"), whoIsMain: "f" }, {           text: "Upload", url: mw.util.getUrl("Special:Upload"), whoIsMain: "f", shortName: "Upload" }, {           text: "Others", url: "", icon: '<svg class="wds-icon"><use xlink:href="#wds-verticals-movies"> ', isMain: true, shortName: "ot" }, {           text: "Change Content Model", url: mw.util.getUrl("Special:ChangeContentModel"), whoIsMain: "ot" }, {           text: "Zendesk Request", url: "https://support.fandom.com/hc/en-us/requests/new?ticket_form_id=360000931354", whoIsMain: "ot" }, {           text: "Wiki Navigation", url: mw.util.getUrl("MediaWiki:Wiki-navigation"), whoIsMain: "ot" }, {           text: "Special Pages", url: mw.util.getUrl("Special:SpecialPages"), whoIsMain: "ot" }, {           text: "List Users", url: mw.util.getUrl("Special:ListUsers/sysop"), whoIsMain: "ot" }, {           text: "Licenses", url: mw.util.getUrl("MediaWiki:Licenses"), whoIsMain: "ot" }, {           text: "Extras", url: "", isMain: true, shortName: "xtrs" }, {           text: "Colour Picker", url: "https://www.w3schools.com/colors/colors_picker.asp", whoIsMain: "xtrs" }, {           text: "W3Schools", url: "https://www.w3schools.com/", whoIsMain: "xtrs" }, {           text: "Autoprefixer CSS", url: "https://autoprefixer.github.io/", whoIsMain: "xtrs" }, {           text: "String Functions", url: "https://www.mediawiki.org/wiki/Extension:StringFunctions", whoIsMain: "xtrs" }, {           text: "Conditional expressions", url: "https://en.wikipedia.org/wiki/Help:Conditional_expressions", whoIsMain: "xtrs" }, {           text: "Frens", url: "", icon: '<svg data-id="wds-icons-user" height="24" width="24" viewBox="0 0 24 24" class="wds-icon" xmlns="http://www.w3.org/2000/svg"><use xlink:href="#wds-icons-user"> ', isMain: true, shortName: "frens" }, {           text: "Friendly Mountain12", url: mw.util.getUrl("User:Friendly Mountain12"), whoIsMain: "frens" }, {           text: "BryghtShadow", url: mw.util.getUrl("User:BryghtShadow"), whoIsMain: "frens" }, {           text: "Saurmandal", url: mw.util.getUrl("User:Saurmandal"), whoIsMain: "frens" }, {           text: "JustLeafy", url: mw.util.getUrl("User:JustLeafy"), whoIsMain: "frens" }, {           text: "Sophiedp", url: mw.util.getUrl("User:Sophiedp"), whoIsMain: "frens", shortName: "victory" }, {           text: "Dorumin", url: mw.util.getUrl("User:Dorumin"), whoIsMain: "frens" }, {           text: "Philo04", url: mw.util.getUrl("User:Philo04"), whoIsMain: "frens" }, {           text: "Dorito", url: mw.util.getUrl("User:Joritochip"), whoIsMain: "frens" }, {           text: "Robyn", url: mw.util.getUrl("User:Robyn_Grayson"), whoIsMain: "frens" }   ];    if (mw.config.get("wgNamespaceIds").gadget) { window.globalNavButtons.push({           text: "Gadgets",            url: mw.util.getUrl("Special:Gadgets"),            whoIsMain: "ot"        }); }   if (/sysop|administrator|content-moderator|threadmoderator|rollback/.test(mw.config.get("wgUserGroups").join)) { window.globalNavButtons.push({           text: "Staff",            url: "",            icon: '<svg class="wds-icon"><svg id="wds-avatar-badges-admin" viewBox="0 0 18 18"><path d="M5.855 7.127h1.393c.254 0 .386-.089.464-.313l.875-2.517A.416.416 0 0 1 8.99 4a.408.408 0 0 1 .417.29c.293.845.585 1.69.879 2.534.073.21.207.302.444.302h2.795c.143 0 .27.029.366.134a.375.375 0 0 1-.062.58c-.33.233-.665.458-1 .686l-1.315.9c-.182.124-.236.284-.167.485l.874 2.515c.057.163.053.313-.078.444a.44.44 0 0 1-.573.044l-1.008-.69-1.302-.889a.432.432 0 0 0-.525.001c-.77.526-1.54 1.053-2.31 1.577-.28.19-.645.05-.686-.264a.435.435 0 0 1 .026-.191c.29-.846.582-1.69.874-2.534.076-.222.026-.37-.17-.505L4.196 7.864c-.17-.116-.233-.283-.177-.454.058-.178.21-.282.424-.282.47-.002.94-.001 1.411-.001z">   ',            isMain: true,            shortName: "staff"        }); }   if (/sysop|administrator|content-moderator|threadmoderator/.test(mw.config.get("wgUserGroups").join)) { window.globalNavButtons.push({           text: "Message Deletion",            url: "/Special:SocialActivity?deleted=true&containerTypes=WALL",            whoIsMain: "staff"        }, {            text: "Reported Posts",            url: "/f/reported",            whoIsMain: "staff"        }); }   if (/sysop|administrator/.test(mw.config.get("wgUserGroups").join)) { window.globalNavButtons.push({           text: "Admin Dashboard",            url: mw.util.getUrl("Special:AdminDashboard"),            whoIsMain: "staff"        }, {            text: "Announcements",            url: "/announcements",            whoIsMain: "staff"        }, {            text: "Theme Designer",            url: mw.util.getUrl("Special:ThemeDesigner"),            whoIsMain: "staff"        }, {            text: "Delete Reasons",            url: mw.util.getUrl("MediaWiki:Deletereason-dropdown"),            whoIsMain: "ot"        }, {            text: "User Rights",            url: mw.util.getUrl("Special:UserRights"),            whoIsMain: "staff"        }, {            text: "Block",            url: mw.util.getUrl("Special:Block"),            whoIsMain: "staff"        }); }   if (mw.config.get("wgWikiID") == "steamtradingcards") { window.globalNavButtons.push({           text: "Steam Card Exchange",            url: "https://www.steamcardexchange.net/index.php",            whoIsMain: "xtrs"        }, {            text: "Steam Trading Cards",            url: "https://steam.tools/cards/",            whoIsMain: "xtrs"        }, {            text: "Completionist Me",            url: "https://completionist.me/",            whoIsMain: "xtrs"        }); }   if (mw.config.get("wgWikiID") == "ftb_gamepedia") { window.globalNavButtons.push({           text: "FTB",            url: "",            icon: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="wds-icon"><path d="M3.499 3.043c-.641.108-1.104.355-1.603.853-.4.4-.6.717-.771 1.217l-.105.307-.011 5.02c-.01 4.426-.004 5.057.051 5.33.076.375.221.728.433 1.05.184.279 3.161 3.29 3.527 3.567.287.218.582.371.96.498l.28.095 5.58.011c6.13.013 5.891.021 6.483-.227.503-.211.701-.382 2.38-2.061 1.679-1.679 1.85-1.877 2.061-2.38.247-.589.24-.412.227-5.903l-.011-5-.105-.307c-.171-.5-.371-.817-.771-1.217-.41-.41-.741-.616-1.243-.775l-.321-.101-8.42-.006c-4.631-.003-8.511.01-8.621.029m16.917 2.054c.199.099.388.288.487.487.075.152.077.289.077 5.016 0 4.658-.003 4.866-.074 5-.103.193-3.043 3.14-3.266 3.273l-.18.107H12c-5.232 0-5.466-.003-5.6-.074-.192-.101-3.184-3.087-3.293-3.286l-.087-.16-.011-4.76c-.008-3.276.001-4.814.031-4.933a1.02 1.02 0 0 1 .686-.721c.085-.025 3.13-.037 8.334-.033 8.023.007 8.203.009 8.356.084M7.48 7.657c-.425.119-.596.248-1.449 1.096-.55.546-.857.881-.91.995a.809.809 0 0 0-.002.682c.095.211.408.527.621.629.203.097.516.099.7.004.077-.04.459-.389.85-.776l.709-.703.731.723c.672.666.748.729.96.795.219.069.24.069.448.004.425-.134.829-.623.829-1.004 0-.346-.114-.505-.959-1.342-.833-.824-1.057-.992-1.466-1.098-.282-.073-.808-.075-1.062-.005m8 0c-.425.119-.596.248-1.449 1.096-.55.546-.857.881-.91.995a.809.809 0 0 0-.002.682c.095.211.408.527.621.629.203.097.516.099.7.004.077-.04.459-.389.85-.776l.709-.703.731.723c.672.666.748.729.96.795.219.069.24.069.448.004.425-.134.829-.623.829-1.004 0-.346-.114-.505-.959-1.342-.833-.824-1.057-.992-1.466-1.098-.282-.073-.808-.075-1.062-.005m-6.866 6.4a.814.814 0 0 0-.505.396c-.074.139-.089.231-.089.547 0 .331.013.403.1.558.11.197.294.34.515.401.197.055 6.533.055 6.73 0a.842.842 0 0 0 .515-.401c.087-.156.1-.226.099-.558-.001-.433-.081-.645-.301-.801-.28-.2-.267-.199-3.694-.196-2.512.002-3.24.014-3.37.054">  ', isMain: true, shortName: "ftb" }, {           text: "Sheet List", url: mw.util.getUrl("Special:SheetList"), whoIsMain: "ftb" }, {           text: "Tile List", url: mw.util.getUrl("Special:TileList"), whoIsMain: "ftb" }, {           text: "Tile Translator", url: mw.util.getUrl("Special:TileTranslator"), whoIsMain: "ftb" }, {           text: "View Tile", url: mw.util.getUrl("Special:ViewTile"), whoIsMain: "ftb" }, {           text: "What Uses This Tile?", url: mw.util.getUrl("Special:WhatUsesThisTile"), whoIsMain: "ftb" });   }    if (/bot/.test(mw.config.get("wgUserGroups").join)) {        if (mw.config.get("wgWikiID") == "ftb_gamepedia") {            window.globalNavButtons.push({ text: "CreateTileSheet", url: mw.util.getUrl("Special:CreateTileSheet"), whoIsMain: "ftb" }, {               text: "Sheet Manager", url: mw.util.getUrl("Special:SheetManager"), whoIsMain: "ftb" }, {               text: "Tile Manager", url: mw.util.getUrl("Special:TileManager"), whoIsMain: "ftb" });       }    }    //window.GlobalNavButtonsConf = {    //    keepLinks: ["start-a-wiki"]    //};    //window.globalNavButtons.push({ //   text: "Start A Wiki", //   url: "https://community-137.fandom.com/wiki/Special:CreateNewWiki", //   icon: '<svg class="wds-icon wds-icon-small"><use xlink:href="#wds-icons-add-small">  ', //   isMain: false //});   importScriptPage("User:Aeywoo/sourceEditorFooter.js", "aeywoo");    importScriptPage("User:KockaAdmiralac/LinkModifications.js", "kocka");    importScriptPage("User:Aeywoo/multiUpload.js", "steamtradingcards");    //importScriptPage("User:Aeywoo/VanguardTools.js", "darkside-detective");    if (mw.config.get("wgWikiID") == "wikia") {    	importArticles({ type: "script", articles: [ "u:dev:MediaWiki:PreviewRail.js" ]   	})    }    importArticles({ type: "script", articles: [ /* Enabled */ "u:dev:MediaWiki:Sofix.js", "u:dev:MediaWiki:AjaxRC.js", "u:dev:MediaWiki:Matrix.js", "u:dev:MediaWiki:Stella.js", "u:dev:MediaWiki:QuickJSRT.js", "u:dev:MediaWiki:CustomTools.js", //"u:dev:MediaWiki:MultiUpload.js", "u:dev:MediaWiki:PatrolPanel.js", "u:dev:MediaWiki:PurgeButton.js", "u:dev:MediaWiki:CustomizeAce.js", "u:dev:MediaWiki:ThemeToggler.js", "u:dev:MediaWiki:UCXSearchBar.js", "u:dev:MediaWiki:CodeSelectAll.js", "u:dev:MediaWiki:FastFileDelete.js", //"u:dev:MediaWiki:GamepediaTheme.js", "u:dev:MediaWiki:AjaxBatchDelete.js", "u:dev:MediaWiki:CacheCheck/code.js", "u:dev:MediaWiki:HistoryKey/code.js", "u:dev:MediaWiki:MassRename/code.js", "u:dev:MediaWiki:ReadProgressBar.js", "u:dev:MediaWiki:ShowWROnToolbar.js", "u:dev:MediaWiki:DiscussionsAFLog.js", "u:dev:MediaWiki:GlobalNavButtons.js", "u:dev:MediaWiki:ChangeModelButton.js", "u:dev:MediaWiki:ImportJSPage/code.js", "u:dev:MediaWiki:SearchSuggest/code.js", "u:dev:MediaWiki:AnnouncementsIgnore.js", "u:dev:MediaWiki:AutoCreateUserPages.js", "u:dev:MediaWiki:MisspelledPage/code.js", "u:dev:MediaWiki:RemoveLegacyThreads.js", "u:dev:MediaWiki:MinimalTestModeAlert.js", "u:dev:MediaWiki:ModulesLinkToModules.js", "u:dev:MediaWiki:DisableInfoboxBuilder.js", "u:dev:MediaWiki:ViewInContentLang/code.js", "u:dev:MediaWiki:MassCategorization/code.js", "u:dev:MediaWiki:InterwikisOnSpecialPages.js" /* Disabled *//* "u:dev:MediaWiki:CopyTitle.js", "u:dev:MediaWiki:HydraRevived.js", "u:dev:MediaWiki:MassEdit/code.js", "u:dev:MediaWiki:OasisRevived.js", "u:dev:MediaWiki:ThemeSelector.js", "u:dev:MediaWiki:SyntaxHighlight.js", "u:dev:MediaWiki:QuickTitle/code.js", "u:dev:MediaWiki:UploadMultipleFiles.js", "u:dev:MediaWiki:AnchoredRollback/code.js"*/ ]   }); });