Extension:DeleteBatch
From MediaWiki.org
|
DeleteBatch Release status: stable |
|||
|---|---|---|---|
| Implementation | Special page | ||
| Description | Allows to delete a batch of pages | ||
| Author(s) | Bartek Łapiński | ||
| Latest version | 1.5 (2014-03-31) | ||
| MediaWiki | 1.17+ | ||
| PHP | 5.3+ | ||
| Database changes | No | ||
| License | GNU General Public License 2.0 or later | ||
| Download | |||
|
|||
|
|||
|
Translate the DeleteBatch extension if it is available at translatewiki.net |
|||
The DeleteBatch extension adds a special page, Special:DeleteBatch, where users with the 'deletebatch' right can delete multiple pages easily. 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[edit]
- Download and place the file(s) in a directory called
DeleteBatchin yourextensions/folder. - Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/DeleteBatch/DeleteBatch.php";
- Configure as required
Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Configuration[edit]
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;