Extension:UndeleteBatch

This page is a translated version of the page Extension:UndeleteBatch and the translation is 56% complete.
MediaWiki 拡張機能マニュアル
UndeleteBatch
リリースの状態: 保守されていない
実装 特別ページ
説明 Allows to undelete a batch of pages
作者 Nathan Larson (Leucosticteトーク)
最新バージョン 1.0.0 (2013-12-23)
MediaWiki 1.23+
PHP 5.3+
データベースの変更 いいえ
ライセンス GNU 一般公衆利用許諾書 2.0 以降
ダウンロード
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.

使用法

構文は以下の通りです:

  • ページ名|削除理由
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.

インストール

  • ダウンロードして、ファイルをextensions/フォルダー内のUndeleteBatchという名前のディレクトリ内に配置します。
  • 以下のコードを LocalSettings.php ファイルの末尾に追加します:
    require_once "$IP/extensions/UndeleteBatch/UndeleteBatch.php";
    
  •   完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。

設定

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;

関連項目

  • 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