User:Greyman/global.js

/* */

/*********** Load external scripts ***********/ PurgeButtonText = 'purge'; importScriptPage('PurgeButton/code.js', 'dev');

/* importScriptPage('User:Splarka/fastdelete.js', 'www'); */ importScriptPage('FastDelete/code.js', 'dev');

// Adds customizable one-click deletion buttons to any deletable page.

var fdButtons = []; if( wgCityId == '12760'){ fdButtons[fdButtons.length] = { 'summary': '2.1 CSD', 'label': 'SD'}; fdButtons[fdButtons.length] = { 'summary': '1.3 Spam', 'label': 'S'}; fdButtons[fdButtons.length] = { 'summary': '1.7 Vandalism', 'label': 'V'}; fdButtons[fdButtons.length] = { 'summary': '1.2 Nonsense', 'label': 'N'};

} else { fdButtons[fdButtons.length] = { 'summary': 'Speedy deletion', 'label': 'SD'}; fdButtons[fdButtons.length] = { 'summary': 'Spam', 'label': 'S'}; fdButtons[fdButtons.length] = { 'summary': 'Vandalism', 'label': 'V'}; fdButtons[fdButtons.length] = { 'summary': 'Nonsense', 'label': 'N'}; }

// ***************************************************************** // ************* END: Custom automatic delete buttons ************** // *****************************************************************

/* */