Extension:OrphanedTalkPages
Appearance
发行状态: 稳定版 |
|
|---|---|
| 实现 | 特殊页面 |
| 描述 | 提供一個特殊頁面,列出沒有伴隨頁面的討論頁 |
| 作者 | Mainframe98留言 |
| 最新版本 | 1.4.0 (2020-10-01) |
| 兼容性政策 | 快照跟随MediaWiki发布。 master分支不向后兼容。 |
| MediaWiki | 1.35.0+ |
| 数据库更改 | 否 |
|
|
| 许可证 | MIT License |
| 下載 | README |
| 前往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
$wgMiserModeis 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
$wgUseInstantCommonsor$wgForeignFileReposis enabled. - While no dedicated API module is provided by OrphanedTalkPages itself, the API does provide the results of Special:OrphanedTalkPages using the
querypagequery list. For example:
| 此扩展在以下wiki农场/托管网站和/或软件包中提供: |
