Extension:NukeDPL

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎català • ‎dansk • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎sicilianu • ‎suomi • ‎中文 • ‎日本語
MediaWiki extensions manual
Crystal Clear action run.svg
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, Felipe Schenone
Latest version 1.6 (2018-06-29)
License GPL
Download
Added rights
nuke (automatically granted to sysops)
Translate the NukeDPL extension if it is available at translatewiki.net
Check usage and version matrix.

Allows mass deletion of articles selected by queries of the Extension:DynamicPageList.

Installation[edit]

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

Usage[edit]

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".

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

See also[edit]