扩展:孤立讨论页

This page is a translated version of the page Extension:OrphanedTalkPages and the translation is 80% complete.
MediaWiki扩展手册
OrphanedTalkPages
发行状态: 稳定版
实现 特殊页面
描述 Provides a special page with a list of talk pages that do not have an accompanying page
作者 Mainframe98留言
最新版本 1.4.0 (2020-10-01)
兼容性政策 快照跟随MediaWiki发布。 master分支不向后兼容。
MediaWiki 1.35.0+
数据库更改
许可协议 MIT授權條款
下載
README
  • $wgOrphanedTalkPagesExemptedNamespaces
  • $wgOrphanedTalkPagesIgnoreUserTalk
季度下載量 9 (Ranked 140th)
前往translatewiki.net翻譯OrphanedTalkPages扩展
問題 开启的任务 · 报告错误

The OrphanedTalkPages extension adds a new Special page to MediaWiki: Special:OrphanedTalkPages. This special page lists all talk pages that do not have an accompanying page.

安裝

  • 下载文件,并将其放置在您extensions/文件夹中的OrphanedTalkPages目录内。
    开发者和代码贡献人员应从Git安装扩展,输入:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/OrphanedTalkPages
  • 将下列代码放置在您的LocalSettings.php 的底部:
    wfLoadExtension( 'OrphanedTalkPages' );
    
  •   完成 – 在您的wiki上导航至Special:Version,以验证已成功安装扩展。

配置参数

$wgOrphanedTalkPagesExemptedNamespaces
Controls which talk namespaces should be ignored when looking for orphaned talk pages. This variable is an array of namespace ids and is empty by default.
$wgOrphanedTalkPagesIgnoreUserTalk
Determines if the user talk namespace (3, or NS_USER_TALK) should be ignored when looking for orphaned talk pages. This variable is a boolean and set to true by default.

其他重要注意事项

  • The query that this special page uses is considered expensive. This means that when $wgMiserMode is enabled, the results will be served from cache.
  • The special page may report talk pages as orphaned when they are not. The most common situation where this happens is File talk pages when $wgUseInstantCommons or $wgForeignFileRepos is enabled.
  • While no dedicated API module is provided by OrphanedTalkPages itself, the API does provide the results of Special:OrphanedTalkPages using the querypage query list. For example: