Udvidelse:DeleteBatch

From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:DeleteBatch and the translation is 35% complete.
Other languages:
English • ‎Türkçe • ‎dansk • ‎español • ‎čeština • ‎русский • ‎हिन्दी • ‎中文 • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
DeleteBatch
Release status: stabil
Implementation Special page
Beskrivelse Allows to delete a batch of pages
Forfatter(e) Bartek Łapiński
Latest version 1.8.1 (2019-04-05)
MediaWiki 1.25+
PHP 5.3+
Database changes Nej
Licens GNU General Public License 2.0 or later
Download
  • deletebatch
  • deletebatch-spoof
Translate the DeleteBatch extension if it is available at translatewiki.net
Check usage and version matrix.
Issues Open tasks · Report a bug

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.

Syntaksen er:

  • sidenavn|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 place the file(s) in a directory called DeleteBatch in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'DeleteBatch' );
    
  • Configure as required
  • Yes DoneNavigate to Special:Version on your wiki to verify that the extension is successfully installed.

Konfiguration

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;

Se også