User:Darth Culator/global.js

// 

// ***************************************************************** // Load various external scripts // ***************************************************************** function appendScript(url) { var scriptElem = document.createElement('script'); scriptElem.setAttribute('src',url); scriptElem.setAttribute('type','text/javascript'); document.getElementsByTagName('head')[0].appendChild(scriptElem); } 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 = [];

fdButtons[fdButtons.length] = { 'summary': 'Fanon', 'label': 'fn'};

fdButtons[fdButtons.length] = { 'summary': '3.1 Duplicate image', 'label': 'du'};

fdButtons[fdButtons.length] = { 'summary': '3.3 Unused image', 'label': 'uu'};

fdButtons[fdButtons.length] = { 'summary': 'Crap', 'label': 'cr'};

//