FastDelete

FastDelete 2.0 (ok, closer to 1.5)


 * less slave functions
 * more jQuery (thanks to dantman)
 * honorary mention to the original, by the late great w:User:Splarka.
 * uses original button array, so only the call to source needs to change (maybe)

how to use
either in your js on your local wiki, or more commonly in your global js,

importScriptPage('FastDelete/code.js', 'dev'); That will include the code /code.js here on this wiki. note: for those old schoolers out there, this replaces the appendScript function, and include to User:Splarka/fastdelete.js
 * setup the code like this

var fdButtons = []; This will create the array that your buttons will be held in, and signal to the code that you have buttons.
 * Then add this

fdButtons[fdButtons.length] = { 'summary': 'spam', 'label': 'spam'};
 * Lastly, the custom buttons you want to use

fdButtons[fdButtons.length] = { 'summary': 'spam', 'label': 'spam'}; fdButtons[fdButtons.length] = { 'summary': 'vandalism', 'label': 'vandal'};
 * add more then one of these to add more buttons, example:

fdButtons[fdButtons.length] = { 'summary': 'spam', 'label': 'spam'};
 * Wiki text is allowed in the edit summary
 * And remember, that your bar will fill up fairly quickly with long button texts, so take a hint, use short ones