Extension:Nuke

From MediaWiki.org
Jump to: navigation, search

Other languages:
English • ‎日本語 • ‎한국어 • ‎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 manualManual:Extensions
Crystal Clear action run.png
Nuke

Release status:Extension status stable

Nuke.png
ImplementationTemplate:Extension#type Special page, Page action
DescriptionTemplate:Extension#description Gives sysops the ability to mass delete pages.
Author(s)Template:Extension#username Brion Vibber, Jeroen De Dauw
Latest versionTemplate:Extension#version 1.3.0 (2017-03-01)
MediaWikiTemplate:Extension#mediawiki 1.28.1+ (v1.3.0+)
Database changesTemplate:Extension#needs-updatephp No
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
Download
Added rightsTemplate:Extension#rights

nuke

Hooks usedTemplate:Extension#hook
ContributionsToolLinksManual:Hooks/ContributionsToolLinks

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

Check usage and version matrix.

IssuesPhabricator

Open tasks · Report a bug

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

Installation[edit]

  • 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 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[edit]

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]

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]