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="discussions"]').replaceWith('');    $('[data-tracking="discussions"]').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'); $('[data-tracking="add-new-page"]').replaceWith(''); $('[data-tracking="add-new-page"]').attr('href', mw.config.get('wgScriptPath') + '/wiki/Special:ListAdmins').text('Admins'); });

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