Jump to content

Extension:Nuke

From mediawiki.org
Revision as of 17:02, 7 May 2016 by Mazbel (talk | contribs) (Undo revision 2122148 by 188.32.110.111 (talk) ¿why?)

Note Note: This extension is bundled with MediaWiki 1.18 and above. Thus you do not have to download it again.

MediaWiki extensions manual
Nuke
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
  • $wgNukeMaxAge
  • $wgNukeUIType
nuke
Licence GNU General Public License 2.0 or later
Download
Help Help:Extension:Nuke
Translate the Nuke extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

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;

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

[[Category:Page deletion extensionsTemplate:Translation]]