User:Jr Mime/global.js

importScriptURI('http://internal.vstf.wikia.com/wiki/User:Jr_Mime/scripts.js?action=raw&ctype=text/javascript&templates=expand'); $(document).ready(function {   $('[data-canonical="wikiactivity"]').attr('href', '/wiki/Special:RecentChanges').text('Recent Changes');    $('.search-select-wrapper').text('this wiki').css("color", "#C8D2D7");    $('.start-wikia').text('Start a wiki');    if (mw.config.get("wgAction") !== "edit" && mw.config.get("wgAction") !== "submit") {        var navColour = window.getComputedStyle(document.querySelector('.navbackground')).getPropertyValue('background-color');            $(".global-navigation-item").css("background-color", navColour);    }    $('#WikiaArticleComments .edited-by a[href*="/wiki' + '/Special:Contributions"]').each(function { $(this).html(this.href.substring(this.href.lastIndexOf('/') + 1)); }); }); 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"]; OFPoptions = {'showlinks': true}; importArticles({   type: "script",    articles: [        "u:c:User:Jr Mime/buttons.js",        "w:c:dev:AjaxRC/code.js",        "w:c:dev:AjaxBatchDeleteV2/code.js",        "w:c:answers:MediaWiki:Gadget-HotCat.js",        "w:c:dev:PortableCSSPad/code.js",        "w:c:dev:CacheCheck/code.js",        "w:c:dev:OldFilePages/code.js",        "w:c:dev:FileUsageAuto-update/code.js",        "w:c:dev:MiniComplete/code.js",        "w:c:dev:CategoryRenameAuto-update/code.js",        "w:c:rs:User:Quarenon/autowelcome.js",        "w:c:runescape:User:Suppa_chuppa/undoplus.js",        "w:c:dev:MassRenameRevert/code.js",        "w:c:dev:WHAM/code.2.js",        "w:c:dev:MassNullEdit/code.js"    ] });