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:DifferentSkinEditor/code.js',   'u:dev:AjaxBlock/code.js',   'u:dev:GenerateSig/code.js',   'u:dev:EditcountTag/code.js',   'u:dev:MediaWiki:BackToTopButton/code.js',   'u:dev:MediaWiki:ChatModHover/code.js',   'u:dev:MediaWiki:UserCheck/code.js' ,   'u:dev:MediaWiki:UserInfo.js' ,   'u:dev:MediaWiki:DupImageList/code.js',   'MediaWiki:QuickTitle/code.js', 'dev',   'u:dev:MediaWiki:FasterBanModule/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:starmanw:MediaWiki:QuickLogs/code.js', 'u:dev:MediaWiki:Rollback/code.js', 'u:dev:MediaWiki:QuickIW/code.js', 'u:dev:MediaWiki:QuickThreads/code.js', 'u:dev:MediaWiki:QuickTools/advanced.js', 'u:dev:MediaWiki:QuickToolsv2/code.js', 'w:dev:QuickCreateMessageWallGreeting/code.js', 'u:dev:MediaWiki:SkinSwitchButton/code.js', 'u:dev:MediaWiki:RedirectManagement/code.js', 'u:dev:MediaWiki:RevealAnonIP/code.js', 'u:dev:MediaWiki:SearchSuggest/code.js', 'u:dev:ShowUserGroups.js', 'u:dev:GenerateSig/code.js', 'u:dev:DisplayTimer/code.js', 'MediaWiki:Custom-chat-ban-template/code.js', 'dev', '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:ListAdmins/code.js', 'u:dev:MediaWiki:WHAM/code.2.js', 'u:dev:MediaWiki:Sine/code.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); }   $('#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, ']'); });       });    } }

importScriptURI('http://internal.community.wikia.com/index.php?title=MediaWiki:InterWiki.js&action=raw&ctype=text/javascript');

/* Torus. */

if (mw.config.get('wgPageName') == "Special:Torus") {

importScriptPage('MediaWiki:Torus.js', 'monchbox');

}

/* Chat PM Notifications. */

var beepSound = 'http://soundbible.com/grab.php?id=1645&type=mp3';

importScriptPage('MediaWiki:PrivateMessageAlert/code.js', 'dev');

/* Chat Hacks. */

importScriptPage('User:Monchoman45/ChatHacks.js', 'c');

/* More imports. */

batchDeleteDelay = 150;

importScriptPage('AjaxBatchDelete/code.2.js', 'dev');

window.reason = 'Housekeeping.';

importScriptPage('QuickDelete/code.js', 'dev');

/* Add links to user drop-down menu. */

$(function {

$('<a href="/wiki/Special:MyPage/sandbawx">Sandbawx</a></li>')

.insertBefore('.AccountNavigation .subnav li:first');

$('<a href="/wiki/Special:ListUsers?group=sysop">Sysops</a></li>')

.insertBefore('.AccountNavigation .subnav li:first');

$('<a href="/wiki/Special:Leaderboard">Leaderboard</a></li>')

.insertBefore('.AccountNavigation .subnav li:first');

$('<a href="/wiki/Special:RecentChanges">RecentChanges</a></li>')

.insertBefore('.AccountNavigation .subnav li:first');

$('<a href="/wiki/Special:Contributions/TheOneFootTallBrickWall”>Contribs</a></li>')

.insertBefore('.AccountNavigation .subnav li:first');

$('<a href="http://community.wikia.com/wiki/User:TheOneFootTallBrickWall/global.js">Global.js</a></li>')

.insertBefore('.AccountNavigation .subnav li:first');

$('<a href="http://community.wikia.com/wiki/Template:User:TheOneFootTallBrickWall">Userpage</a></li>')

.insertBefore('.AccountNavigation .subnav li:first');

$('ul.tools li:first-child')

.before('<a href="/wiki/Special:Log">L</a></li>');

$('ul.tools li:first-child')

.before('<a href="http://community.wikia.com/wiki/Adoption:Requests">AR</a></li>');

$('#wpSave')

.val('Save changes');

$('a[data-id="move"]')

.html('Move');

});

/* WikiActivity redirects to RecentChanges. */

$(function {

var a = document.getElementsByTagName('a');

for(var i = 0; i < a.length; i++) {

if(a[i].href && a[i].href.indexOf('/wiki/Special:WikiActivity') != -1) {a[i].href = a[i].href.replace('/wiki/Special:WikiActivity', '/wiki/Special:RecentChanges');}

}

});

$('<a href=/wiki/Special:Contributions/ + wgTitle + ">Contribs</a></li>').appendTo('#p-cactions > .pBody > ul');

var favkaty = ["community", "house-of-cards","spongebob","apple","katyperry"]; for (i=0;i<favkaty.length;i++){ $('<a href="/wiki/w:c:'+favkaty[i]+':User:TheOneFootTallBrickWall">'+favkaty[i]+'</a></li>').prependTo('div#p-personal > .pBody > ul'); }