Extension:NukeDPL

Translate this page; This page contains changes which are not marked for translation.
Other languages:
English • ‎español • ‎中文 • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
NukeDPL
Release status: stable
Implementation Page action , Special page
Description Allows mass deletion of articles using Extension:DynamicPageList
Author(s) Aran Dunkley (Nadtalk)
Maintainer(s) Sophivorus
Latest version 1.6 (2020-01-02)
License GNU General Public License 3.0 or later
Download
nuke (automatically granted to sysops)
Translate the NukeDPL extension if it is available at translatewiki.net
Check usage and version matrix.

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

InstallationEdit

  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'NukeDPL' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

UsageEdit

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 alsoEdit