扩展:孤立讨论页
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 |
|
|
季度下載量 | 3 (Ranked 136th) |
前往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.
安裝
- 下载文件,并将解压后的
OrphanedTalkPages
文件夹移动到extensions/
目录中。
开发者和代码贡献人员应从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:
此扩展在以下wiki农场/托管网站和/或软件包中提供: 這不是一份權威名單。 即使某些wiki农场/托管网站和/或软件包未在这里列出,它们也可能提供此扩展。 请检查你的wiki农场/托管网站或软件包以确认提供情况。 |