Erweiterung:UndeleteBatch

From mediawiki.org
This page is a translated version of the page Extension:UndeleteBatch and the translation is 56% complete.
MediaWiki-Erweiterungen
UndeleteBatch
Freigabestatus: ohne Wartung
Einbindung Spezialseite
Beschreibung Allows to undelete a batch of pages
Autor(en) Nathan Larson (LeucosticteDiskussion)
Letzte Version 1.0.0 (2013-12-23)
MediaWiki 1.23+
PHP 5.3+
Datenbankänderungen Nein
Lizenz GNU General Public License 2.0 oder später
Herunterladen
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.

Verwendung

Die Syntax ist:

  • Seitenname|Wiederherstellgrund
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

  • Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens UndeleteBatch im Ordner extensions/ ablegen.
  • Folgenden Code am Ende deiner LocalSettings.php -Datei einfügen:
    require_once "$IP/extensions/UndeleteBatch/UndeleteBatch.php";
    
  • Yes Erledigt – Navigiere zu Special:Version in deinem Wiki, um zu überprüfen, ob die Erweiterung erfolgreich installiert wurde.

Konfiguration

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;

Siehe auch

  • Erweiterung: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