User:Fiolli/global.js

/* */ // ***************************************************************** // Load various external scripts // *****************************************************************

EditIntroButtonText = 'Introduction'; importScriptPage('User:Grunny/EditIntroButton.js', 'firefly');

PurgeButtonText = 'Purge'; importScriptPage('PurgeButton/code.js', 'dev');

importScriptPage('User:Grunny/autodel2.js', 'firefly');

importScriptPage( 'User:Grunny/wl.js', 'firefly' );

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

// ***************************************************************** // Custom automatic delete buttons // ***************************************************************** // Adds customizable one-click deletion buttons to any deletable page. // Requires w:User:Splarka/fastdelete.js in appendScript; var fdButtons = []; if( wgCityId == '147'){ fdButtons[fdButtons.length] = { 'summary': '-- Vandalism', 'label': 'V'}; fdButtons[fdButtons.length] = { 'summary': 'Non-factual information', 'label': 'NFI'}; fdButtons[fdButtons.length] = { 'summary': '-- Spam', 'label': 'S'}; fdButtons[fdButtons.length] = { 'summary': ' ', 'label': '--'}; } else { fdButtons[fdButtons.length] = { 'summary': 'Spam', 'label': 'S'}; fdButtons[fdButtons.length] = { 'summary': 'Non-factual information', 'label': 'NFI'}; fdButtons[fdButtons.length] = { 'summary': ' ', 'label': '--'}; } /* */