Manual:$wgUseCommaCount/zh
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed from MediaWiki core in version <tvar name=ver>1.24.0</tvar>.</translate> <translate> Please see <tvar name=page>$wgArticleCountMethod</tvar> for an alternative way to use this feature.</translate> |
<translate> Statistics and content analysis</translate>: $wgUseCommaCount | |
---|---|
指定计数时用于定义“有效文章”的条件。 |
|
<translate> Introduced in version:</translate> | 1.5.0 |
<translate> Deprecated in version:</translate> | 1.18.0 |
<translate> Removed in version:</translate> | 1.24.0 (Gerrit change 139842; git #3b57bd5f) |
<translate> Allowed values:</translate> | (布尔值) |
<translate> Default value:</translate> | false |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
细节
在哪种情况下,应将主名空间中的页面计为有效文章? 如果$wgUseCommaCount设置为true,则它包含至少一个逗号将被计数。 如果将其设置为false(默认值),则仅当它包含至少一个[[wiki link]]时才被计数。
更改此变量不会回溯影响现有计数。 运行维护脚本updateArticleCount.php 或initStats.php 以更新计数。
参见
Categories:
- MediaWiki configuration settings/zh
- MediaWiki configuration settings introduced in version 1.5.0/zh
- MediaWiki configuration settings deprecated in version 1.18.0/zh
- MediaWiki configuration settings removed in version 1.24.0/zh
- Pages with broken file links
- MediaWiki deprecated or obsolete features/zh
- Site Statistics variables/zh