Extension:Nuke

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎español • ‎polski • ‎português • ‎русский • ‎中文 • ‎日本語 • ‎한국어
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.
MediaWiki extensions manual
OOjs UI icon advanced.svg
Nuke
Release status: stable
Nuke.png
Implementation Special page , Page action
Description Gives sysops the ability to mass delete pages.
Author(s)
Latest version 1.3.0 (2017-03-01)
MediaWiki 1.28.1+
Database changes No
License GNU General Public License 2.0 or later
Download
nuke
Translate the Nuke extension if it is available at translatewiki.net
Check usage and version matrix.
Issues Open tasks · Report a bug

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

Installation

  • Download and place the file(s) in a directory called Nuke in your extensions/ folder.

To users running MediaWiki 1.24 or earlier:

The instructions above describe the new way of installing this extension using wfLoadExtension(). If you need to install this extension on these earlier versions (MediaWiki 1.24 and earlier), instead of wfLoadExtension( 'Nuke' );, you need to use:

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

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;

Usage

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