User:Jr Mime/global.js

$(document).ready(function {   if (mw.config.get("wgAction") !== "edit" && mw.config.get("wgAction") !== "submit") {        var navColour = window.getComputedStyle(document.querySelector('.navbackground')).getPropertyValue('background-color');            $(".page-width>.table-cell").css("background-color", navColour);    }    $('[data-canonical="wikiactivity"]').attr('href', '/wiki/Special:RecentChanges').text('Recent Changes');    $('.start-wikia').text('Start a wiki');    $('#WikiaArticleComments .edited-by a[href*="/wiki' + '/Special:Contributions"]').each(function { $(this).html(this.href.substring(this.href.lastIndexOf('/') + 1)); }); }); importScriptURI('http://internal.vstf.wikia.com/wiki/User:Jr_Mime/scripts.js?action=raw&ctype=text/javascript&templates=expand'); var fdButtons = []; fdButtons[fdButtons.length] = {'summary': 'vandalism', 'label': 'V'}; fdButtons[fdButtons.length] = {'summary': 'spam', 'label': 'S'}; fdButtons[fdButtons.length] = {'summary': 'cleanup', 'label': 'C↑'}; fdButtons[fdButtons.length] = {'summary': 'Violation of the ToU', 'label': 'ToU'}; importScriptPage('FastDelete/code.js', 'dev'); window.ajaxPages = ["Special:RecentChanges", "Special:NewPages", "Special:WikiActivity", "Special:AbuseLog", "Spécial:Modifications_récentes", "Special:Log", "Special:Log/newusers", "Special:Log/chatconnect", "Special:Log/block", "Special:Log/chatban", "Special:Log/upload", "Especial:Mudanças_recentes", "Служебная:RecentChanges"]; OFPoptions = {'showlinks': true}; importArticles({   type: "script",    articles: [        "u:a:MediaWiki:Gadget-HotCat.js",        "u:c:User:Jr Mime/buttons.js",        "u:dev:AjaxBatchDeleteV2/code.js",        "u:dev:AjaxRC/code.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:MassRenameRevert/code.js",        "u:dev:MiniComplete/code.js",        "u:dev:OldFilePages/code.js",        "u:dev:PortableCSSPad/code.js",        "u:dev:WHAM/code.2.js",        "u:rs:User:Quarenon/autowelcome.js",        "u:rs:User:Suppa chuppa/undoplus.js"    ] });