User:Goodwood/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': 'Unused and/or legacy redirect', 'label': 'RE'}; fdButtons[fdButtons.length] = { 'summary': 'Fails article guidelines. For help in writing better ones, ask me!', 'label': 'Fail'}; fdButtons[fdButtons.length] = { 'summary': 'Spam', 'label': 'S'}; fdButtons[fdButtons.length] = { 'summary': 'Deleted by author request', 'label': 'Auth'}; fdButtons[fdButtons.length] = { 'summary': ' ', 'label': '--'}; } else { fdButtons[fdButtons.length] = { 'summary': 'Unused and/or legacy redirect', 'label': 'RE'}; fdButtons[fdButtons.length] = { 'summary': 'Fails article guidelines. For help in writing better ones, ask me!', 'label': 'Fail'}; fdButtons[fdButtons.length] = { 'summary': 'Spam', 'label': 'S'}; fdButtons[fdButtons.length] = { 'summary': 'Deleted by author request', 'label': 'Auth'}; } /* */