User:Jr Mime/global.js

$(function {   if (mw.config.get("wgCityId") == 177 || mw.config.get("wgCityId") == 65099 || mw.config.get("wgCityId") == 2182188) {        $('.wds-global-navigation').css('background-color', '#39424d');    } else {        $('.wds-global-navigation').css('background-color', $(".ooui-theme-fandom .wds-community-header").css("background-color"));    }    $('[data-tracking="recent-changes"]').attr('href', mw.config.get('wgScriptPath') + '/wiki/Special:RecentChanges').text('Recent Changes');    $('[data-tracking="add-new-page"]').replaceWith('');    $('[data-tracking="add-new-page"]').attr('href', mw.config.get('wgScriptPath') + '/wiki/Special:Log/newusers').text('New Users');    $('.wds-global-navigation__user-menu div:nth-child(2) ul li:nth-child(2)').after('My Contributions'); });

mw.loader.load('//internal-soap.fandom.com/wiki/User:Jr_Mime/scripts-ucp.js?action=raw&ctype=text/javascript&templates=expand');