Extension:UndeleteBatch
Cette extension n'est en ce moment pas activement maintenue ! Même si elle reste opérationnelle, les rapports de bogue ou les demandes de nouvelles fonctionnalités risquent de ne plus être pris en compte. |
![]() État de la version : non-maintenu |
|
---|---|
Implémentation | Page spéciale |
Description | Allows to undelete a batch of pages |
Auteur(s) | Nathan Larson (Leucostictediscussion) |
Dernière version | 1.0.0 (2013-12-23) |
MediaWiki | 1.23+ |
PHP | 5.3+ |
Modifie la base de données |
Non |
Licence | Licence publique générale GNU v2.0 ou ultérieur |
Téléchargement | GitHub: Note : |
undeletebatch |
|
The UndeleteBatch extension adds a special page, "Special:UndeleteBatch", where users with the 'undeletebatch' right can undelete multiple pages easily. The user can undelete pages either through the form or by uploading a text file containing the names (and optional undelete reasons) of the pages.
Utilisation
The syntax is:
- page name|Reason for undeletion
So if you wanted to undelete the page called "Test" with the reason "needed again", you'd type:
Test|needed againin the form on Special:UndeleteBatch.
Installation
- Download et placez le(s) fichier(s) dans un répertoire appelé
UndeleteBatch
dans votre dossierextensions/
. - Ajoutez le code suivant à la fin de votre fichier LocalSettings.php :
require_once "$IP/extensions/UndeleteBatch/UndeleteBatch.php";
- Fait – Accédez à Special:Version sur votre wiki pour vérifier que l'extension a bien été installée.
Configuration
By default, this extension lets only bureaucrats undelete batches. You can change it to, e.g., let sysops undelete batches:
$wgGroupPermissions['bureaucrat']['undeletebatch'] = false;
$wgGroupPermissions['sysop']['undeletebatch'] = true;
Voir aussi
- Extension:DeleteBatch - the extension (1) that does the opposite of what this one does, and (2) from which most of the code for this extension was borrowed