Extension:UndeleteBatch/zh

![]() | 此扩展目前不再活跃维护! 尽管它可能仍然工作,但任何错误报告或功能请求将很可能被忽略。 |
![]() 發佈狀態: 不再維護 |
|
---|---|
实现 | 特殊页面 |
描述 | 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.
Usage
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文件,并将其放置在您
extensions/
文件夹中的UndeleteBatch
目录内。 - 将下列代码放置在您的
LocalSettings.php
的底部:require_once "$IP/extensions/UndeleteBatch/UndeleteBatch.php";
完成 – 在您的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