扩展:NukeDPL

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:NukeDPL and the translation is 64% complete.

Other languages:
English • ‎中文 • ‎日本語
MediaWiki扩展手册
OOjs UI icon advanced.svg
NukeDPL
发布状态: 稳定版
实现 Page action, Special page
描述 允许大量删除使用扩展:动态页面列表的条目(基于Brion Vibber开发的扩展:大量删除
作者 Nad, Felipe Schenone
最新版本 1.6 (2018-06-29)
许可协议 GPL
下载
添加的权限
nuke (自动授予管理员)
翻译NukeDPL扩展如果在translatewiki.net可用
检查使用和版本矩阵。

通过查询Extension:DynamicPageList大量删除条目。

安装

  • 将下列代码放置在您的LocalSettings.php的底部:
    wfLoadExtension( 'NukeDPL' );
    
  • Yes 完成 – 在您的wiki上导航至Special:Version,以验证扩展已成功安装。

用法

It is recommended that you make sure your database is backed up before using this extension.

Go to the Special:NukeDPL page and enter a DPL query to select a list of articles. The DPL surrounding tags and the output format parameters are automatically added, so only the selection parameters are required (one per line). Click the submit button to see a list of the pages selected by the query from which any items can be unchecked if they should not be included in the deletion. Clicking the submit button on this list page will then delete all the checked articles.

For example, to delete all articles beginning with "My World" in the main namespace use:

namespace  = 0
titlematch = My_World%

You can find more about the syntax at the DPL Manual. Look for "criteria for page selection".

警告 警告: If you use namespace = Image the image files won't be deleted correctly, only the corresponding text pages.

参见