User:Giaria/global.js

/* Make Visual Editor links load the regular editor instead */ if ($.getUrlVar('veaction') == 'edit') location.replace(document.URL.replace('veaction','action')); /* Monchomans chat hacks */ importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptPage('User:Joeytje50/ChatPMs.js', 'c'); importScriptPage('ChatOptions/code.js', 'dev'); importScriptPage('MessageBlocker_2/code.js', 'dev'); importScriptPage('MessageBlocker/code.js', 'dev'); importScriptPage('InactiveUsers/code.js', 'dev'); importScriptPage('MarkForDeletion/code.js', 'dev'); // MarkForDeletion customization, see http://dev.wikia.com/wiki/MarkForDeletion window.MarkForDeletion = { promptedDeleteReason: "Unneeded" }; importScriptPage( 'AjaxUndo/code.js', 'dev' ); // http://dev.wikia.com/wiki/NoImageLightbox importScriptPage('NoImageLightbox/code.js', 'dev'); importScriptPage('SearchSuggest/code.js', 'dev'); importScriptPage('ArchiveTool/code.js', 'dev'); importScriptPage('AjaxPatrol/code.js', 'dev' ); importScriptPage( 'FastOldImageDelete/code.js', 'dev' ); importScriptPage( 'SignatureCheck/code.js', 'dev' ); importScriptPage( 'VisualSpellCheck/code.js', 'dev' ); importScriptPage('EditIntroButton/code.js', 'dev'); importScriptPage('BackToTopButton/code.js', 'dev'); importScriptPage('WikiaNavBarHider/code.js', 'dev');

if (mw.config.get('wgPageName') == "Special:Torus") { importScriptPage('MediaWiki:Torus.js', 'monchbox'); }