Extension:NukeDPL
NukeDPL Release status: stable |
|||
---|---|---|---|
Implementation | Page action, Special page | ||
Description | Allows mass deletion of articles using Extension:DynamicPageList (based on Extension:Nuke by Brion Vibber) | ||
Author(s) | Nad, LFS | ||
Latest version | 1.3 (2014-03-26) | ||
License | GPL | ||
Download | |||
|
|||
Translate the NukeDPL extension if it is available at translatewiki.net |
|||
Check usage and version matrix; code metrics |
Allows mass deletion of articles selected by queries of the Extension:DynamicPageList.
Installation[edit | edit source]
This extension requires the Extension:DynamicPageList (third-party), so first install and activate that extension.
- Download and extract the file(s) in a directory called
NukeDPL
in yourextensions/
folder. If you're a developer and this extension is in a Git repository, then instead you should clone the repository using:
git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/NukeDPL.git
- Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/NukeDPL/NukeDPL.php";
- Done! Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.
Usage[edit | edit source]
It is recommended that you make sure your database is backed up before using this extension.
Go to the Special:NukeDPL page and enter a DPL query to select a list of articles. The DPL surrounding tags and the output format parameters are automatically added, so only the selection parameters are required (one per line). Click the submit button to see a list of the pages selected by the query from which any items can be unchecked if they should not be included in the deletion. Clicking the submit button on this list page will then delete all the checked articles.
For example, to delete all articles beginning with "My World" in the main namespace use:
namespace = 0 titlematch = My_World%
You can find more about the syntax at the DPL Manual. Look for "criteria for page selection".
![]() |
If you use namespace = Image the image files wont be deleted correctly, only the corresponding text pages. |
See also[edit | edit source]
- Extension:Nuke - Allows mass deletion of articles and their history by author or IP.
- Extension:DynamicPageList
- Extension:SpecialDeleteOldRevisions - Deletes article history.
- Extension:DeletePagePermanently