Help:Extension:Nuke

The extension Nuke is useful to delete unwanted pages (spam, vandalism…).

Note that, on the contrary to the “revert” operation, Nuke deletes entire pages with their history. If you want to delete individual contributions but keep the pages, you have to use the “revert” feature (by default granted to administrators (sysops).

Before deletion, pages can be filtered by editor, title, and/or namespace. Only recent pages can be deleted, where “recent” is defined by the configuration parameter  (by default 90 days).

Usage
Go to the page Special:Nuke; you must have the right  (see Help:User rights and groups).

Before deleting pages, you have to select the pages according to certain criteria:
 * User name or IP address;
 * Page name or a pattern of page names (see below for the syntax);
 * A specific namespace or all namespaces

You can enter one or multiple criteria. If you enter multiple criteria, pages matching all the criteria will be selected. If you enter no criteria, all recent pages will be selected.

After clicking on “List pages”, the selection is displayed and you can select or unselect individual pages. You can modify the reason displayed in the logs, and then click on “Delete selected”.

Pattern of page names
Wildcards can be used in the field “SQL LIKE pattern (e.g. %) for the page name”, specifically SQL LIKE wildcards:
 * _ (underscore) means exactly one character;
 * % means zero or any number of characters.

Page names must be written in the database-encoded form, corresponding to the page name in the URL (where underscore are used for spaces, and a capital letter is used as first letter if the namespace is case-insensitive).

Three characters must be encoded specifically:
 * the space must be encoded as \_ (because an underscore alone is the wildcard “one character”)
 * the percent sign “%” must be encoded as \%
 * the antislash sign “\” must be encoded as \\\\