User:TheKorraFanatic/global.js

//Disable InfoboxBuilder if ($('.template-classification-type-text').data('type') == 'infobox') $('#ca-edit').attr('href', function(a) {   return this.href + '&useeditor=source'; }) if(window.location.pathname.indexOf('Special:InfoboxBuilder') != -1) {var pname = window.location.pathname.split('Special:InfoboxBuilder/')[1]; location.replace(document.URL.replace(window.location.href.split('/wiki/')[1],'Template:'+pname+'?action=edit&useeditor=source'));}

/* Lets the join chat button open in a new tab. Taken from TyA's global.js page */ $(setTimeout('ChatCheck', 200)); function ChatCheck { if($('.start-a-chat-button').length != 0) { $('.start-a-chat-button').replaceWith('Join the Chat'); } else { setTimeout('ChatCheck', 200); }   }    function OpenChatWindow { window.chatwindow = window.open('/index.php?title=Special:Chat&useskin=wikia'); }

// AjaxBlock window.AjaxBlock = { check: { talk: true, autoBlock: true, override: true } };

// AjaxRC window.ajaxSpecialPages = ['Log', 'Recentchanges', 'Watchlist', 'WikiActivity'];

// FastDelete window.fdButtons = []; fdButtons[fdButtons.length] = {'summary': 'Author request', 'label': 'AR'}; fdButtons[fdButtons.length] = {'summary': 'Broken file', 'label':'BF'}; fdButtons[fdButtons.length] = {'summary': 'Cleanup', 'label': 'CP'}; fdButtons[fdButtons.length] = {'summary': 'Marked for Deletion', 'label': 'MFD'}; fdButtons[fdButtons.length] = {'summary': 'Spam', 'label' : 'S'}; fdButtons[fdButtons.length] = {'summary': 'Vandalism', 'label' : 'V'}; fdButtons[fdButtons.length] = {'summary': 'Unused', 'label': 'U'};

// QuickCreateUserPage window.qtUserPageTemplate = '';

// WHAM window.WHAMBotMe = true; window.WHAMDelay = 1000;

importArticles({	type: 'script',	articles: [		'u:dev:AbuseLogRC.js',		'u:dev:AjaxBatchDelete/code.2.js',		'u:dev:AjaxBatchUndelete.js',		'u:dev:AjaxBlock/code.js',		'u:dev:AjaxRC/code.js',		'u:dev:AjaxRename/code.js',		'u:dev:AjaxThreadDelete/code.js',		'u:dev:AjaxUndo/code.js',		'u:dev:AnchoredRollback/code.js',		'u:dev:BackToTopButton/code.js',		'u:dev:BlogLink/code.js',		'u:dev:CategoryRenameAuto-update/code.js',		'u:dev:Discussions Delete All/code.js', 		'u:dev:DiscussionsFeed.js',		'u:dev:DiscussionsRailModule/code.js',		'u:dev:DiscussionsViewer/code.js', 		'u:dev:EditBio/code.js',		'u:dev:EditConflictAlert/code.js',		'u:dev:FastDelete/code.js',		'u:dev:GlobalEditcount/code.js',		'u:dev:LinkToDiscussionsProfileIfTheyDontHaveLivePosts/code.js',		'u:dev:MarkForDeletion/code.js',		'u:dev:MassBlock/code.js',		'u:dev:MassProtect/code.js',		'u:dev:MassUserRights/code.js',		'u:dev:PortableCSSPad/code.js', 'u:dev:QuickCreateUserPage/code.js', 'u:dev:QuickDiff/code.js', 'u:dev:RailWAM/code.js', 'u:dev:RevealAnonIP/code.js', 'u:dev:UnhideUserMasthead/code.js', 'u:dev:UserAccountAge/code2.js', 'u:dev:UserCheck/code.js', 'u:dev:VSTFReport.js', 'u:dev:ViewDeleted/code.js', 'u:dev:ViewRemoved/code.js', 'u:dev:WHAM/code.2.js', 'u:dev:WLHEditLinks/code.js', 'u:dev:WorkingMoreUsersCount.js', 'u:kocka:ReportFormatter.js', ] });