Extension:DeleteBatch/zh

Category:GPL licensed extensions/zh
DeleteBatch
Category:Stable extensions/zh
Category:Special page extensions/zh
描述 Allows to delete a batch of pages
作者 Bartek Łapiński
最新版本 1.8.1 (2019-04-05)
MediaWiki 1.25+Category:Extensions with manual MediaWiki version
PHP 5.3+
GNU通用公眾授權條款2.0或更新版本
下載 Category:Extensions in Wikimedia version control/zh
  • deletebatch
  • deletebatch-spoof
季度下載量 23 (Ranked 78th)
前往translatewiki.net翻譯DeleteBatch
問題 开启的任务 ·
Category:All extensions/zh

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 needed
in the form on Special:DeleteBatch.

This extension was based off on the maintenance script with the same name.

安裝

  • 下载,并将解压后的DeleteBatch移动到extensions/目录中。
    开发者和代码贡献人员应从Git安装扩展,输入:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/DeleteBatch
  • 将下列放置在您的LocalSettings.php 的底部:
    wfLoadExtension( 'DeleteBatch' );
    
  • Yes 完成 – 在您的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;

Category:Extensions by Fandom/zh Category:Page deletion extensions/zh
Category:AdminLinks extensions/zh Category:All extensions/zh Category:Extensions by Fandom/zh Category:Extensions in Wikimedia version control/zh Category:Extensions included in Canasta/zh Category:Extensions included in Fandom/zh Category:Extensions with manual MediaWiki version Category:GPL licensed extensions/zh Category:Page deletion extensions/zh Category:Special page extensions/zh Category:Stable extensions/zh