Extension:UndeleteBatch/zh

This page is a translated version of the page Extension:UndeleteBatch and the translation is 0% complete.
MediaWiki擴充功能手冊
OOjs UI icon advanced-invert.svg
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.

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

  • Download文件,并将其放置在您extensions/文件夹中的UndeleteBatch目录内。
  • 将下列代码放置在您的LocalSettings.php的底部:
    require_once "$IP/extensions/UndeleteBatch/UndeleteBatch.php";
    
  • Yes 完成 – 在您的wiki上导航至Special:Version,以验证扩展已成功安装。

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;

See also

  • 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