Extension:DeleteBatch

Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
DeleteBatch
Release status: stableCategory:Stable extensions
Implementation Special page Category:Special page extensions
Description Allows to delete a batch of pages
Author(s) Bartek Łapiński
Latest version 1.8.1 (2019-04-05)
MediaWiki 1.25+Category:Extensions with manual MediaWiki version
PHP 5.3+
Database changes No
License GNU General Public License 2.0 or later
Download Category:Extensions in Wikimedia version control
  • deletebatch
  • deletebatch-spoof
Quarterly downloads 35 (Ranked 76th)
Translate the DeleteBatch extension if it is available at translatewiki.net
Issues Open tasks · Report a bug
Category:All extensions

The DeleteBatch extension adds a special page, Special:DeleteBatch, where users with the 'deletebatch' right can delete multiple pages easily.

Usage

The user can delete pages either through the form or by uploading a text file containing the names (and optional delete reasons) of the deletable pages.

The syntax is:

  • page name| Reason for deletion

So if you wanted to delete the page called "Test" with the reason "no longer needed", you'd type:

Test|no longer needed

in the form on Special:DeleteBatch.

This extension was based off on the maintenance script with the same name.

Installation

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

Configuration

By default, this extension lets only bureaucrats delete batches. You can change it to, e.g., let sysops delete batches:

$wgGroupPermissions['bureaucrat']['deletebatch'] = false;
$wgGroupPermissions['sysop']['deletebatch'] = true;

See also

Category:Extensions by Fandom Category:Page deletion extensions
Category:AdminLinks extensions Category:All extensions Category:Extensions by Fandom Category:Extensions in Wikimedia version control Category:Extensions included in Canasta Category:Extensions included in Fandom Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image Category:GPL licensed extensions Category:Page deletion extensions Category:Special page extensions Category:Stable extensions