扩展:NukeDPL

本頁使用了標題或全文手工轉換
From mediawiki.org
This page is a translated version of the page Extension:NukeDPL and the translation is 53% complete.
MediaWiki扩展手册
NukeDPL
发行状态: 穩定版
实现 页面操作 , 特殊页面
描述 允许大量删除使用Extension:DynamicPageList 的条目
作者 Aran Dunkley (Nad讨论)
维护者 Sophivorus
最新版本 1.6 (2020-01-02)
MediaWiki >= 1.32.0
许可协议 GNU通用公眾授權條款3.0或更新版本
下載
季度下載量 6 (Ranked 153rd)
前往translatewiki.net翻譯NukeDPL扩展

NukeDPL扩展名允许批量删除通过DynamicPageList 扩展名查询选择的文章。 基于Brion Vibber的扩展:大量删除


安裝

  • 安装 扩展:DynamicPageList (第三方)
  • 下载文件,并将其放置在您extensions/文件夹中的NukeDPL目录内。
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/NukeDPL
  • 将下列代码放置在您的LocalSettings.php 的底部:
    wfLoadExtension( 'NukeDPL' );
    
  • Yes 完成 – 在您的wiki上导航至Special:Version,以验证已成功安装扩展。

用法

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, especially at Criteria for page selection

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

參見