|描述||Allows to delete a batch of pages|
|MediaWiki 1.36||Not formally tested|
|MediaWiki 1.34||Not formally tested|
|MediaWiki 1.32||Not formally tested|
|问题||尚未完成的工作 · 回報錯誤|
The DeleteBatch extension adds a special page, Special:DeleteBatch, where users with the 'deletebatch' right can delete multiple pages easily.
The user can delete pages either through the form or by uploading a text file containing the names (and optional delete reasons) of the deletable pages.
The syntax is:
- page name|Reason for deletion
So if you wanted to delete the page called "Test" with the reason "no longer needed", you'd type:
Test|no longer neededin the form on Special:DeleteBatch.
This extension was based off on the maintenance script with the same name.
wfLoadExtension( 'DeleteBatch' );
- 完成 – 在您的wiki上导航至Special:Version，以验证扩展已成功安装。
By default, this extension lets only bureaucrats delete batches. You can change it to, e.g., let sysops delete batches:
$wgGroupPermissions['bureaucrat']['deletebatch'] = false; $wgGroupPermissions['sysop']['deletebatch'] = true;