Extension:NukeDPL

From MediaWiki.org

Jump to: navigation, search
Manual on MediaWiki Extensions
List of MediaWiki Extensions
NukeDPL

Release status: beta

Implementation Page action, Special page
Description Allows mass deletion of articles by DPL query (based on Extension:Nuke by Brion Vibber)
Author(s) User:Nad
Version 1.1.0 (2007-07-12)
Download OrganicDesign:Extension:NukeDPL.php
Added rights nuke (automatically granted to sysops)

Contents

[edit] Requirements

This extension uses Extension:DynamicPageList (DPL).

[edit] Usage

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.

Example: To delete all article beginning with "My World" in the main namespace use:
namespace=
titlematch=My_World%
(do not use <DPL>...</DPL>)

More on the syntax you find here: DPL Manual, look for "criteria for page selection".

Warning: If you use "namespace=Image" the image file will not be deleted correctly, only the corresponding text page.

[edit] Installation

Get the latest revision of the code from OrganicDesign:Extension:NukeDPL.php, save as a file in your extensions directory and include from your LocalSettings.php file as usual.

[edit] See also

Personal tools