FANDOM


FastDelete adds buttons to any page that can be deleted which deletes the page with a single click.

Installation

Configuration

The script also requires you to configure the buttons you'd like to use. Some example of buttons you might like to use can be seen below, where label is the text that appears on the button, and summary is the reason for deletion.

window.fdButtons = [
    {
        summary: 'Housekeeping',
        label: 'HK'
    },
    {
        summary: 'Vandalism',
        label: 'V'
    },
    {
        summary: 'Spam',
        label: 'S'
    }
];

It is recommended to use short button labels or they will rapidly take up lots of space.

The buttons need to be defined before the script import. All together it will look something like this:

window.fdButtons = [
    {
        summary: 'Housekeeping',
        label: 'HK'
    },
    {
        summary: 'Vandalism',
        label: 'V'
    },
    {
        summary: 'Spam',
        label: 'S'
    }
];
 
importArticles({
    type: 'script',
    articles: [
        // ...
        'u:dev:MediaWiki:FastDelete/code.js',
        // ...
    ]
});

Wikitext in summaries

You can use some limited wikitext in the summary:

  • [[link]]
  • [[link|text]]

Other wikitext will not work:

  • [http://c.wikia.com/wiki/Link]
  • [http://c.wikia.com/wiki/Link Text]
  • {{template}}