扩展:孤立讨论页
![]() 發佈狀態: 穩定版本 |
|
---|---|
![]() |
|
实现 | 特殊页面 |
描述 | 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 |
|
|
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' );
完成 – 在您的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:
api.php? action=query& list=querypage& qppage=OrphanedTalkPages& format=json& formatversion=2 [在Api沙盒中尝试]
![]() | 这个扩展包含在以下包和/或维基农场: 这不是一个权威的名单。一些维基农场/主机可能包含这个extension,即使它们没有在这里列出。经常检查您的维基农场/主机或包来确认。 |