Extension:UndeleteBatch/fr

From Linux Web Expert

Manuel des extensions MediaWiki
UndeleteBatch
État de la version : non-maintenu
Implémentation Page spéciale
Description Allows to undelete a batch of pages
Auteur(s) Nathan Larson (Leucostictetalk)
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
undeletebatch
Téléchargements trimestriels Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Utilisé par les wikis publics Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').

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 again
in the form on Special:UndeleteBatch.

Installation

  • <translate> <tvar name=1>Download</tvar> and place the file(s) in a directory called <tvar name=name>UndeleteBatch/fr</tvar> in your <tvar name=ext>extensions/</tvar> folder.</translate>
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    require_once "$IP/extensions/UndeleteBatch/fr/UndeleteBatch/fr.php";
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

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