MediaWiki extensions manual
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)
MediaWiki >= 1.32.0
License GNU General Public License 3.0 or later
Download
Quarterly downloads 6 (Ranked 164th)
Translate the NukeDPL extension if it is available at translatewiki.net

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

Installation

  • Install Extension:DynamicPageList (third-party)
  • Download and place the file(s) in a directory called NukeDPL in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'NukeDPL' );
    
  • Yes 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 Warning: If you use namespace = Image the image files won't be deleted correctly, only the corresponding text pages.

See also

  • Extension:Nuke - Allows mass deletion of articles and their history by author or IP.
  • Extension:DynamicPageList
  • Manual:RevisionDelete
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.