Extension:DeleteBatch/zh

From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:DeleteBatch and the translation is 29% complete.
Other languages:
English • ‎Türkçe • ‎dansk • ‎español • ‎čeština • ‎русский • ‎हिन्दी • ‎中文 • ‎日本語
MediaWiki擴充功能手冊
OOjs UI icon advanced.svg
DeleteBatch
发布状态: 稳定版
实现 特殊页面
描述 Allows to delete a batch of pages
作者 Bartek Łapiński
最新版本 1.8.1 (2019-04-05)
MediaWiki 1.25+
PHP 5.3+
数据庫更改
许可协议 GNU通用公眾授權條款2.0或更新版本
下载
  • deletebatch
  • deletebatch-spoof
翻譯DeleteBatch擴充功能如在translatewiki.net可用
检查使用和版本矩阵。
问题 尚未完成的工作 · 回報錯誤

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 .

安装

  • 下载文件,并将其放置在您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;

参见