From MediaWiki.org
(Redirected from Nuke)
Jump to: navigation, search
This extension is bundled with MediaWiki 1.18 and above. Thus you do not have to download it again.
MediaWiki extensions manual
Crystal Clear action run.png

Release status: stable

Implementation Special page, Page action
Description Gives sysops the ability to mass delete pages.
Author(s) Brion Vibber, Jeroen De Dauw
Latest version 1.2.0 (2014-03-27)
MediaWiki 1.19+ (v1.1.6+)
Database changes No
License GNU General Public License 2.0 or later
Added rights


Hooks used

Translate the Nuke extension if it is available at translatewiki.net

Check usage and version matrix; code metrics


Open tasks · Report a bug

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

Installation[edit | edit source]

  • Download and place the file(s) in a directory called Nuke in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
wfLoadExtension( 'Nuke' );
  • Configure as required.
  • YesY Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

To users running MediaWiki 1.24 or earlier:

The instructions above describe the new way of installing extensions using $LoadExtension, since MediaWiki 1.25. If you need to install this extension in earlier versions, instead of wfLoadExtension( 'Nuke' );, you need to use:

require_once "$IP/extensions/Nuke/Nuke.php";

(To run an extension on an earlier release, you may need to download the version of it tagged for that release from Special:ExtensionDistributor.)

Configuration[edit | edit source]

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;

Usage[edit | edit source]

Go to Special:Nuke in order to mass delete pages recently added by a user or IP address. 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%.

A log of all deletions is maintained at Special:Log/delete.

See also[edit | edit source]

Language: English  • 日本語 • 한국어 • polski • русский