Extension:NukeDPL

MediaWiki extensions manual
NukeDPL
Release status: stable
Implementation Page action , Special page
Description Allows mass deletion of articles using Extension:DynamicPageList3
Author(s) Aran Dunkley (Nadtalk)
Maintainer(s) Sophivorus
Latest version 1.6 (2020-01-02)
MediaWiki >= 1.37.0
License GNU General Public License 3.0 or later
Download
  • nukedpl
Quarterly downloads 8 (Ranked 125th)
Translate the NukeDPL extension if it is available at translatewiki.net

The NukeDPL extension allows mass deletion of articles selected by queries of the DynamicPageList3 extension. Based on Extension:Nuke by Brooke Vibber.


Installation

  • Install Extension:DynamicPageList3
  • Download and move the extracted NukeDPL 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/NukeDPL
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'NukeDPL' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage

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, especially at Criteria for page selection

  Warning: If you use namespace = Image the image files won't be deleted correctly, only the corresponding text pages.

See also