User:TheOneFootTallBrickWall/global.js

importScriptPage('MediaWiki:ChatOptions/code.js', 'dev'); importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptPage('MediaWiki:MessageBlocker/code.js', 'dev');

importArticles({   type: 'script',    articles: [        'u:dev:GlobalEditcount/code.js',    ] }); $(function {   if (mw.config.get("wgAction") !== "edit" && mw.config.get("wgAction") !== "submit" || mw.config.get('wgNamespaceNumber') == 1200) {        // Top bar        globalnavcolor = setInterval(function{ if ($('.wds-global-navigation__wikis-menu, .navbackground').length) { $('.wds-global-navigation__logo, .wds-global-navigation__link, .wds-global-navigation__wikis-menu, .wds-global-navigation__search, .wds-global-navigation__account-menu, .wds-global-navigation__user-menu, .wds-global-navigation__notifications-menu, .wds-global-navigation__start-a-wiki').css('background-color', $('.navbackground').css('background-color')); clearInterval(globalnavcolor); }       },150);        // Bottom box        globalfootercolor = setInterval(function { if ($('.wds-global-footer').length) { $('.wds-global-footer').css('background-color', $('.navbackground').css('background-color')); $('.wds-global-footer__fandom-section, .wds-global-footer__wikia-section').css('border-top-color', $('.wds-global-footer__bottom-bar').css('background-color')); clearInterval(globalfootercolor); }       },150);    }    $('[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)); });   $('.wds-global-navigation__user-menu div:nth-child(2) ul li:nth-child(2)').after('My Contributions'); }); 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'; advancedChatconnectRevisionDelete = true; 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:dev:MediaWiki:AjaxRC/code.js",        "u:dev:FastDelete/code.js",        "u:dev:OldFilePages/code.js"    ] });