Extension:Nuke - MediaWiki
Jump to content
From mediawiki.org
Translate this page
Languages:
Bahasa Indonesia
Bahasa Melayu
Deutsch (Sie-Form)
Türkçe
català
magyar
polski
português
čeština
беларуская (тарашкевіца)
русский
العربية
中文
한국어
MediaWiki extensions manual
Nuke
Release status:
stable
Implementation
Special page
Page action
Description
Gives sysops the ability to mass delete pages.
Author(s)
Brooke Vibber
Jeroen De Dauw
Latest version
1.3.0 (2017-03-01)
MediaWiki
1.28.1+
Database changes
No
Parameters
$wgNukeMaxAge
$wgNukeUIType
Added rights
nuke
Hooks used
ChangeTagsListActive
ContributionsToolLinks
ListDefinedTags
LoadExtensionSchemaUpdates
Hooks provided
NukeGetNewPages
NukeDeletePage
Licence
GNU General Public License 2.0 or later
Download extension
Git
Browse repository
GitHub
Gerrit code review
Git commit log
Download source tarball
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
This extension
comes with MediaWiki 1.18
and later, so you do not need to download it. The remaining configuration instructions must still be followed.
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
Add the following code at the bottom of your
LocalSettings.php
file:
wfLoadExtension
'Nuke'
);
Configure as required.
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
Maximum age
By default, Nuke will only list pages that were created as recent as what is shown on
Special: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 your
LocalSettings.php
file:
$wgNukeMaxAge
30
86400
Usage
See also:
Help:Extension:Nuke
Go to
Special: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 as
Mass delete
You can also specify a pattern for the page title.
The field accepts SQL wildcards, like
%lol%
All deletions, as usual, are recorded in
Special:Log/delete
See also
Graphical
Extension:DeleteBatch
– Delete multiple pages using a text file containing the names
Extension:NukeDPL
– Delete multiple pages using 'Dynamic Page Lists'
Extension:SmiteSpam
– Attempts to find all spam on a wiki, via text processing, and provides an interface to delete it all
Extension:DeletePagesForGood
– Adds a tab for deleting an individual page permanently.
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 pages
after
deleting them (e.g. after using Extension:Nuke)
This extension is being used on one or more
Wikimedia 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's
CommonSettings.php
and
InitialiseSettings.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's
Special:Version
page.
This extension is included in the following wiki farms/hosts and/or packages:
BlueSpice
Canasta
Debian
Fandom
Miraheze
MyWikis
ProWiki
semantic::core
ShoutWiki
Telepedia
wiki.gg
Retrieved from "
Categories
Stable extensions
Special page extensions
Page action extensions
ChangeTagsListActive extensions
ContributionsToolLinks extensions
ListDefinedTags extensions
LoadExtensionSchemaUpdates extensions
GPL licensed extensions
Extensions in Wikimedia version control
All extensions
Extensions bundled with MediaWiki 1.18
Extensions used on Wikimedia
Extensions included in BlueSpice
Extensions included in Canasta
Extensions available as Debian packages
Extensions included in Fandom
Extensions included in Miraheze
Extensions included in MyWikis
Extensions included in ProWiki
Extensions included in semantic::core
Extensions included in ShoutWiki
Extensions included in Telepedia
Extensions included in wiki.gg
Page deletion extensions
Spam management extensions
Hidden categories:
Extensions without a compatibility policy
Extensions with manual MediaWiki version
Extension
Nuke
Add topic