User:RainA/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:ListAdmins').text('Admins');    $('.wds-global-navigation__user-menu div:nth-child(2) ul li:nth-child(2)').after('My Contributions'); });

mw.loader.load('//internal-vstf.fandom.com/index.php?title=User:RainA/scripts-ucp.js&action=raw&ctype=text/javascript'); mw.loader.load('//darkbarbarian.fandom.com/index.php?title=User:DarkBarbarian/AnchoredRollback.js&action=raw&ctype=text/javascript');