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',    ] }); /* Imports */ importArticles({ type:"script", articles: [   'u:dev:MediaWiki:AjaxBatchDelete/code.2.js',   'u:dev:MediaWiki:AjaxDelete/code.js',   'u:dev:MediaWiki:AjaxDiff/code.js',   'u:dev:MediaWiki:AjaxRename/code.js',   'u:dev:MediaWiki:AjaxRC/code.js',   'u:kocka:MediaWiki:AjaxThreadDelete/code.js',   'u:dev:MediaWiki:BackToThread/code.js',   'u:dev:MediaWiki:BackToTopButton/code.js',   'u:dev:MediaWiki:ChatModHover/code.js',   'u:dev:MediaWiki:DupImageList/code.js',   'u:dev:MediaWiki:ExpandGlobalNavDropdownsOnHover/code.js',   'u:dev:MediaWiki:MassCategorization/code.js',   'u:dev:MediaWiki:MassRename/code.js',   'u:dev:MediaWiki:MultiUpload/code.js',   'u:dev:MediaWiki:NullEditButton/code.js',   'u:dev:MediaWiki:PortableCSSPad/code.js',   'u:dev:MediaWiki:PrivateMessageAlert/code.js',   'u:dev:MediaWiki:PurgeBlogs/code.js',   'u:dev:MediaWiki:QuickIW/code.js',   'u:dev:MediaWiki:RedirectManagement/code.js', 'u:dev:MediaWiki:RevealAnonIP/code.js', 'u:dev:MediaWiki:SearchSuggest/code.js', 'u:dev:MediaWiki:Standard_Edit_Summary/code.js', 'u:dev:MediaWiki:ThreadConfirm/code.js', 'u:dev:MediaWiki:ToggleSideBar/code.js', 'u:dev:MediaWiki:ViewRemoved/code.js', 'u:dev:MediaWiki:View_Source/code.js', 'u:dev:MediaWiki:WHAM/code.2.js' ] }); window.ajaxPages = ["Special:WikiActivity", "Special:RecentChanges","Special:Watchlist","Special:Log","Special:Contributions/AdorableDarling", "Special:Images"]; /* Account navigation */ $("#AccountNavigation ul li:first").after($('My contributions')) $("#AccountNavigation ul li:nth-last-child(2)").css({'display':'none'}); /* Tools menu */ $(".WikiaBarWrapper .tools-menu li").addClass("color1"); $("#my-tools-menu").append('Multi-upload'); $("#my-tools-menu").append('Cascading Style Sheets'); $("#my-tools-menu").append('JavaScript'); $(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('<a data-id="contributions" class="wds-global-navigation__dropdown-link" href="' + mw.util.getUrl('Special:Contributions/' + mw.config.get('wgUserName') ) + '">My Contributions</a></li>'); }); 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'}; 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); function stuffInRC { if (wgCanonicalSpecialPageName != 'Contributions') { $(function {           $('.mw-rollback-link').each(function { var a = $(this).find('a').css({                   color: $('.navbackground').css('background-color'),                }), b = '<a href="' + a.attr('href') + '&bot=1" title="-Rollback- reverts edit(s) by this contributor -- botted" style="color: ' + $('.navbackground').css('background-color') + '">bot</a>'; $(this).html('[').after(a, ' | ', b, ']'); });       });    } }