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',
        // ...
    ]
});

You can set window.FastDeleteNoConfirm to true to disable the "are you sure?" prompt.

Wikitext in summaries

You can use some limited wikitext in the summary:

  • [[link]]
  • [[link|text]]
  • [[w:c:interwiki:link|text]]

Other wikitext will not work:

  • [https://c.fandom.com/wiki/Link]
  • [https://c.fandom.com/wiki/Link Text]
  • {{template}}
Text above can be found here (edit)
Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+