手册:$wgUseCommaCount

From mediawiki.org
This page is a translated version of the page Manual:$wgUseCommaCount and the translation is 100% complete.
统计和内容分析: $wgUseCommaCount
指定计数时用于定义“有效文章”的条件。
引进版本:1.5.0
弃用版本:1.18.0
移除版本:1.24.0 (Gerrit change 139842; git #3b57bd5f)
允许的值:(布尔值)
默认值:false

细节

在哪种情况下,应将主名空间中的页面计为有效文章? 如果$wgUseCommaCount设置为true,则它包含至少一个逗号将被计数。 如果将其设置为false(默认值),则仅当它包含至少一个[[wiki link]]时才被计数。

更改此变量不会回溯影响现有计数。 运行维护脚本updateArticleCount.php initStats.php 以更新计数。

参见