扩展:孤立讨论页

本頁使用了標題或全文手工轉換
From mediawiki.org
This page is a translated version of the page Extension:OrphanedTalkPages and the translation is 80% complete.
MediaWiki扩展手冊
OOjs UI icon advanced-invert.svg
OrphanedTalkPages
發佈狀態: 穩定版本
OrphanedTalkPagesExtension.png
实现 特殊页面
描述 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
Quarterly downloads 7 (Ranked 170th)
翻譯OrphanedTalkPages扩展,若在translatewiki.net可用
問題 尚未完成的工作 · 报告錯誤

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目录内。
  • 将下列代码放置在您的LocalSettings.php 的底部:
    wfLoadExtension( 'OrphanedTalkPages' );
    
  • Yes 完成 – 在您的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: