|描述||Allows to undelete a batch of pages|
|作者||Nathan Larson (Leucosticte讨论)|
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 againin the form on Special:UndeleteBatch.
- 完成 – 在您的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;
- 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