Manual:$wgUseCommaCount

From mediawiki.org
Jump to navigation Jump to search
Statistics and content analysis: $wgUseCommaCount
Specifies the criteria used to define a 'valid article' when counting.
Introduced in version:1.5.0
Deprecated in version:1.18.0
Removed in version:1.24.0 (Gerrit change 139842; git #3b57bd5f)
Allowed values:(boolean)
Default value:false

Details[edit]

Under which condition should a page in the main namespace be counted as a valid article? If $wgUseCommaCount is set to true, it will be counted if it contains at least one comma. If it is set to false (default), it will only be counted if it contains at least one [[wiki link]].

Changing this variable does not retroactively affect the existing count. Run the maintenance script updateArticleCount.php or initStats.php to update the count.

See also[edit]