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.
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.
-
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.
If you don't want to filter by user, you can also just filter by namespace.
Only pages listed in
recentchanges
table will be shown.
By default
, this includes all pages created in last 90 days.
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
- 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:
This is not an authoritative list.
Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here.
Always check with your wiki farms/hosts or bundle to confirm.
|