User:Jr Mime/global.js

$(document).ready(function {   if (mw.config.get("wgAction") !== "edit" && mw.config.get("wgAction") !== "submit") {        globalnavcolor = setInterval(function{ $('.global-navigation-container').css('background-color', $('.navbackground').css('background-color')); clearInterval(globalnavcolor); },1000);   }    $('[data-canonical="wikiactivity"]').attr('href', '/wiki/Special:RecentChanges').text('Recent Changes');    $('#WikiaArticleComments .edited-by a[href*="/wiki' + '/Special:Contributions"]').each(function { $(this).html(this.href.substring(this.href.lastIndexOf('/') + 1)); });   $('#AccountNavigation > li > .subnav > li:first').after( $('').append('My contributions') ); });

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'}; fdButtons[fdButtons.length] = {'summary': 'housekeeping', 'label': 'H'}; importScriptPage('FastDelete/code.js', 'dev'); window.ajaxPages = ["Istimewa:Perubahan_terbaru","Especial:CambiosRecientes", "Speciale:UltimeModifiche", "Special:Log/newusers", "Special:RecentChanges", "Special:NewPages", "Special:WikiActivity", "Special:AbuseLog", "Spécial:Modifications_récentes", "Special:Log/block", "Special:Log/chatban", "Special:Log/upload", "Especial:Mudanças_recentes", "Служебная:RecentChanges"]; window.ajaxCallAgain = window.ajaxCallAgain || []; window.ajaxCallAgain.push(stuffInRC); importScriptPage('AjaxRC/code.js', 'dev');

function stuffInRC { if (wgCanonicalSpecialPageName != 'Contributions') { $(function {           $('.mw-rollback-link').each(function { var a = $(this).find('a').css({                   color: $('.navbackground').css('background-color'),                }), b = 'bot'; $(this).html('[').after(a, ' | ', b, ']'); });       });    } } OFPoptions = {'showlinks': true}; massRenameDelay = 500; massRenameSummary = 'automatic'; importArticles({   type: "script",    articles: [        "u:a:MediaWiki:Gadget-HotCat.js",        "u:c:User:Jr Mime/things.js",        "u:ozank:MediaWiki:Chatconnect.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:c:User:Jr Mime/QuickLogs.js"    ] }); importScriptPage("OldFilePages/code.js","dev");