User:KCCreations/global.js

//personalized MessageBlock var MessageBlock = { title : 'Blockage', message : " You have been blocked for a period of $2 for the following reason: $1. If you believe this was done in error, please contact an admin. ", autocheck : true };

//quick create user page config var qtUserPageTemplate = ''; var qtEnableUserPageOverwrite = true;

//placing QuickToolsv2 in toolbar var QuickToolsAdvancedtop = false;

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

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

//MassNullEdit nullEditDelay = 1000; nullEditUserButton = true; importScriptPage('MassNullEdit/code.js', 'dev');

//MassProtect massProtectDelay = 1000; importScriptPage('MassProtect/code.js', 'dev');

// Script imports window.importArticles( {   type: 'script',    articles: [      'u:admintools:MediaWiki:Common.js/extraRollbacks.js',      'u:dev:AjaxPatrol/code.js',      'u:dev:AllPagesHideRedirect/code.js',      'u:dev:AnchoredRollback/code.js',      'u:dev:BackToTopButton/code.js',      'u:dev:ContribsLink/code.js',      'u:dev:DisplayClock/code.js',      'u:dev:LastEdited/code.js',      'u:dev:Message/code.js',      'u:dev:MessageBlock/code.js',      'u:dev:PageMakerPro/code.js',      'u:dev:PurgeButton/code.js',      'u:dev:QuickCreateUserPage/code.js',      'u:dev:QuickToolsv2/code.js',      'w:c:dev:RevealAnonIP/usercode.js',      'u:dev:View_Source/code.js',      'u:dev:WallGreetingButton/code.js',      'u:dev:WHAM/code.2.js',    ] });

// BEGIN BotoneraPopups importScriptURI('http://dev.wikia.com/wiki/BotoneraPopups/Code/en.js?action=raw&ctype=text/javascript&templates=expand'); importStylesheetPage('BotoneraPopups/code.css', 'dev'); // END

//So that I don't have to bother using my bot on select wikis importScriptPage("PageRenameAuto-update/code.js", "dev");

//Thank you, Slyst, for this <3 importScriptPage('MediaWiki:ReasonRollback.js', 'test-z');

/* Make Visual Editor links load the regular editor instead */ if ($.getUrlVar('veaction') == 'edit') location.replace(document.URL.replace('veaction','action'));

//Editcount button in the dropdown $(function { $('Edit count').insertBefore('.AccountNavigation .subnav li:first'); });

/* Producer quick reference modals. :3 */ //Zedd function zeddModal { $.showCustomModal( 'Zedd', '\n\n* Real name: Anton Zaslavski (Wikipedia is a bunch of bakas; Igorevich is NOT his middle name) } $('.toolbar .tools').append($(' Zedd'));
 * Date of birth: 2 September 1989 (age 26)
 * Place of birth: Saratov, Russia
 * Facebook: Zedd
 * Instagram: @zedd
 * Twitter: @Zedd
 * YouTube: ZEDDVEVO (main), <a href="https://www.youtube.com/user/ZeddVideos">ZeddVideos</a> (alt)
 * Official site: <a href="https://www.zedd.net/">zedd.net</a>', { width:500 } );

//Madeon function madeonModal { $.showCustomModal( 'Madeon', '<img src="http://djmag.com/sites/default/files/storyimages/MadeonExcluisvePortrait1_AndrewRauner_3000px.jpg" width="500">\n\n* Real name: Hugo Pierre Leclercq } $('.toolbar .tools').append($(' <a href="javascript:madeonModal">Madeon</a></li>'));
 * Date of birth: 30 May 1994 (age 21)
 * Place of birth: Nantes, France
 * Facebook: <a href="https://www.facebook.com/itsmadeon/timeline?ref=page_internal">itsmadeon</a>
 * Instagram: <a href="https://instagram.com/madeon/">@madeon</a>
 * Twitter: <a href="https://twitter.com/madeon">@madeon</a>
 * YouTube: <a href="https://www.youtube.com/user/MadeonVEVO">MadeonVEVO</a>
 * Official site: <a href="http://www.madeon.fr/">madeon.fr</a>', { width:500 } );

//Test. $(".subnav-2.accent.firstChild").append("<a class='subnav-2a' href='/Special:Log'>Logs</a></li>");

//Highlight whitespace characters in diffs when they're the only thing that was changed if (window.location.href.indexOf('diff=') !== -1) { $('.diffchange-inline').each(function {       if (!(new RegExp('\\S+').test($(this).text))) {            $(this).css('background-color', 'red');        }    }); }