Movatterモバイル変換


[0]ホーム

URL:


Jump to content
MediaWiki
Search

Extension:Nuke

From mediawiki.org
Translate this page
Languages:


MediaWiki extensions manual
Nuke
Release status: stable
ImplementationSpecial page,Page action
DescriptionGives sysops the ability to mass delete pages.
Author(s)
Latest version1.3.0 (2017-03-01)
MediaWiki1.28.1+
Database changesNo
  • $wgNukeMaxAge
  • $wgNukeUIType
  • nuke
LicenseGNU General Public License 2.0 or later
Download
HelpHelp:Extension:Nuke
Translate the Nuke extension if it is available at translatewiki.net
IssuesOpen tasks ·Report a bug

TheNuke extension makes it possible for sysops to mass delete pages.

Installation

This extensioncomes with MediaWiki 1.18 and later, so you do not need to download it. The remaining configuration instructions must still be followed.
  • Download and move the extractedNuke folder to yourextensions/ directory.
    Developers and code contributors should install the extensionfrom Git instead, using:
    cdextensions/gitclonehttps://gerrit.wikimedia.org/r/mediawiki/extensions/Nuke
  • Add the following code at the bottom of yourLocalSettings.php file:
    wfLoadExtension('Nuke');
  • Configure as required.
  • YesDone – Navigate toSpecial: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 asnuke add the following to yourLocalSettings.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 onSpecial: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 yourLocalSettings.php file:

$wgNukeMaxAge=30*86400;

Usage

See also:Help:Extension:Nuke

Go toSpecial: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 asMass delete.

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

All deletions, as usual, are recorded inSpecial: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 pagesafter deleting them (e.g. after using Extension:Nuke)
This extension is being used on one or moreWikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia'sCommonSettings.php andInitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki'sSpecial:Version page.
This extension is included in the following wiki farms/hosts and/or packages:
Retrieved from "https://www.mediawiki.org/w/index.php?title=Extension:Nuke&oldid=8173877"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp