User:Jr Bot/global.js

$(function {   if (mw.config.get("wgCityId") == 177 || mw.config.get("wgCityId") == 65099) {        $('.wds-global-navigation').css('background-color', '#39424d');    } else {        $('.wds-global-navigation').css('background-color', mw.config.get('wgSassParams')['color-community-header']);    }    $('[data-tracking="wiki-activity"]').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');    $('#WikiaArticleComments .edited-by a[href*="/wiki' + '/Special:Contributions"]').each(function { $(this).html(this.href.substring(this.href.lastIndexOf('/') + 1)); });   $('.wds-global-navigation__user-menu div:nth-child(2) ul li:nth-child(2)').after('My Contributions');    $('.featured-video-wrapper').remove; });

// importScriptURI('//internal-vstf.fandom.com/wiki/User:Jr_Mime/scripts.js?action=raw&ctype=text/javascript&templates=expand');

// importScriptURI('//internal-community.fandom.com/wiki/User:Jr Mime/WhatIsThisImport.js?action=raw&ctype=text/javascript&templates=expand');

var fdButtons = [{ summary: 'vandalism', label: 'V'   }, { summary: 'spam', label: 'S'   }, { summary: 'cleanup', label: 'C↑' }, {       summary: 'Violation of the ToU', label: 'ToU' }, {       summary: 'housekeeping', label: 'H'   }, { summary: 'Community Central is NOT for Spanish Homework blogs - Please see your message wall', label: 'SP' } ];

OFPoptions = {'showlinks': true}; massRenameDelay = 500; massRenameSummary = 'automatic'; advancedChatconnectRevisionDelete = true; importArticles({   type: "script",    articles: [        "u:a:MediaWiki:Gadget-HotCat.js",        "u:dev:MediaWiki:AjaxBatchDelete/code.2.js",        "u:dev:CacheCheck/code.js",        "u:dev:CategoryRenameAuto-update/code.js",        "u:dev:FileUsageAuto-update/code.js",        "u:dev:MassNullEdit/code.js",        "u:dev:MiniComplete/code.js",        "u:dev:PortableCSSPad/code.js",        "u:rs:User:Quarenon/autowelcome.js",        "u:rs:User:Suppa chuppa/undoplus.js",        "u:dev:MassRename/code.js",        "u:dev:ListFiles/code.js",        "u:dev:OldFilePages/code.js",        "u:dev:MediaWiki:MassBlock/code.js",        "u:dev:MediaWiki:ViewRemoved/code.js",        "u:dev:MediaWiki:PageRenameAuto-update/code.js",        "u:dev:MediaWiki:Discussions Delete All/code.js",        "u:dev:MediaWiki:DiscussionsViewer.js",        "u:dev:MediaWiki:UnhideUserMasthead/code.js",        "u:dev:MediaWiki:RedirectManagement/code.js" ] });