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:MassRename/code.js',	'u:dev:MediaWiki:MassRenameRevert/code.js',	'u:dev:MediaWiki:ListFiles/code.js',	'u:dev:MediaWiki:MarkForDeletion/code.js',	'u:dev:MediaWiki:DisplayClock/code.js',	'u:dev:MediaWiki:AjaxRC/code.js',	'u:dev:MediaWiki:AjaxUndo/code.js',	'u:dev:MediaWiki:ContribsLink/code.js',	'u:dev:MediaWiki:AnchoredRollback/code.js'	] });

// anti-spam $('head').append('#WikiaPage .Chat .message { word-wrap: break-word; } ');

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

$(function {    $('Global JS')        .insertBefore('.AccountNavigation .subnav li:first');    $('Global CSS')        .insertBefore('.AccountNavigation .subnav li:first'); });