Extension:Nuke

This extension comes with MediaWiki 1.18 and above. Thus you do not have to download it again. However, you still need to follow the other instructions provided.
Category:Extensions bundled with MediaWiki 1.18 Category:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
Nuke
Release status: stableCategory:Stable extensions
Implementation Special page Category:Special page extensions, Page action Category:Page action extensions
Description Gives sysops the ability to mass delete pages.
Author(s)
Latest version 1.3.0 (2017-03-01)
MediaWiki 1.28.1+Category:Extensions with manual MediaWiki version
Database changes No
License GNU General Public License 2.0 or later
Download Category:Extensions in Wikimedia version control
Help Help:Extension:Nuke
  • $wgNukeMaxAge
  • $wgNukeUIType
  • nuke
Quarterly downloads 40 (Ranked 57th)
Public wikis using 12,649 (Ranked 7th)
Translate the Nuke extension if it is available at translatewiki.net
Issues Open tasks · Report a bug
Category:All extensions

The Nuke extension makes it possible for sysops to mass delete pages.

Installation

  • Download and move the extracted Nuke folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Nuke
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'Nuke' );
    
  • Configure as required.
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration

The user right "nuke" is automatically granted to the "sysop" user group. To decouple this and assign this right to a dedicated new user group such as nuke add the following to your LocalSettings.php file:

$wgGroupPermissions['sysop']['nuke'] = false;
$wgGroupPermissions['nuke']['nuke'] = true;

Maximum age

By default, Nuke will only list pages that were created as recent as what is shown on Special:RecentChanges (controlled by $wgRCMaxAge; 90 days by default).

MediaWiki version:
1.44
Gerrit change 1089919

This can be configured to use a different duration with the $wgNukeMaxAge configuration setting. For example, to restrict Nuke to only allow deleting pages up to 30 days old, add the following to your LocalSettings.php file:

$wgNukeMaxAge = 30 * 86400;

Usage

Go to Special:Nuke in order to mass delete pages recently added by a user or IP address. If you don't want to filter by user, you can also just filter by namespace.

The special page is listed under Special:SpecialPages as Mass delete.

You can also specify a pattern for the page title. The field accepts SQL wildcards, like %lol%.

All deletions, as usual, are recorded in Special:Log/delete.

See also

Graphical
Command line
  • deleteBatch.php - Delete multiple pages using a text file containing the names
  • nukeNS.php - Delete all pages in a specific namespace without creating any deletion log (from command line)
  • deleteArchivedRevisions.php - Script to permanently blow away pages after deleting them (e.g. after using Extension:Nuke)
Category:Extensions used on Wikimedia#Nuke Category:Page deletion extensions Category:Spam management extensions
Category:All extensions Category:ChangeTagsListActive extensions Category:ContributionsToolLinks extensions Category:Extensions available as Debian packages Category:Extensions bundled with MediaWiki 1.18 Category:Extensions in Wikimedia version control Category:Extensions included in BlueSpice Category:Extensions included in Canasta Category:Extensions included in Fandom Category:Extensions included in Miraheze Category:Extensions included in MyWikis Category:Extensions included in ProWiki Category:Extensions included in ShoutWiki Category:Extensions included in Telepedia Category:Extensions included in WikiForge Category:Extensions included in semantic::core Category:Extensions included in wiki.gg Category:Extensions used on Wikimedia Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:GPL licensed extensions Category:ListDefinedTags extensions Category:Page action extensions Category:Page deletion extensions Category:Spam management extensions Category:Special page extensions Category:Stable extensions