User:Nerfmaster8/global.js

var fdButtons = []; fdButtons[fdButtons.length] = {'summary': 'vandalism', 'label': 'V'}; fdButtons[fdButtons.length] = {'summary': 'spam', 'label': 'S'}; fdButtons[fdButtons.length] = {'summary': 'Duplicate information', 'label': 'Dup'}; fdButtons[fdButtons.length] = {'summary': 'poor image', 'label': 'image'}; fdButtons[fdButtons.length] = {'summary': 'Disruptive', 'label': 'disrupt'}; fdButtons[fdButtons.length] = {'summary': 'Violation of the ToU', 'label': 'ToU'};

importArticles({	type: 'script',	articles: [	'u:dev:MediaWiki:AjaxBatchDelete/code.2.js',	'u:dev:MediaWiki:MassBlock/code.js',	'u:dev:MediaWiki:MassProtect/code.js',	'u:dev:MediaWiki:MassCategorization/code.js',	'u:dev:MediaWiki:WHAM/code.2.js',	'u:dev:MediaWiki:QuickDelete/code.js',	'u:dev:MediaWiki:FastDelete/code.js',	'u:dev:MediaWiki:MarkForDeletion/code.js',	'u:dev:MediaWiki:AjaxRC/code.js',	'u:dev:MediaWiki:AjaxUndo/code.js',	'u:dev:MediaWiki:ContribsLink/code.js'	] });

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

if (window.location.pathname.indexOf('Special:InfoboxBuilder') != -1) { var name = window.location.pathname.split('Special:InfoboxBuilder/')[1]; location.replace(document.URL.replace(window.location.href.split('/wiki/')[1],'Template:'+name+'?action=edit&useeditor=source')); }