This page is a translated version of the page Extension:UndeleteBatch and the translation is 0% complete.
发行状态: 不再維護
实现 特殊页面
描述 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或更新版本

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.


  • Download文件,并将其放置在您extensions/文件夹中的UndeleteBatch目录内。
  • 将下列代码放置在您的LocalSettings.php 的底部:
    require_once "$IP/extensions/UndeleteBatch/UndeleteBatch.php";
  • Yes 完成 – 在您的wiki上导航至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;

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