FANDOM


Site Statistics: Manual:$wgArticleCountMethod
Method used to determine if a page in a content namespace should be counted as a valid article.
Introduced in version: 1.18.0 (r88113)
Removed in version: still in use
Allowed values: String or null
Default value: null

Other settings: Alphabetical | By Function



Details Edit

Method used to determine if a page in a content namespace should be counted as a valid article.



Redirect pages will never be counted as valid articles.



This variable can have the following values:

  • 'any': all pages are considered as valid articles
  • 'comma': the page must contain a comma to be considered valid
  • 'link': the page must contain a wiki link to be considered valid
  • null: the value will be set at run time depending on $wgUseCommaCount: if $wgUseCommaCount is false, it will be 'link', if it is true it will be 'comma'



Retroactively changing this variable will not affect the existing count, to update it, you will need to run the maintenance/updateArticleCount.php script.



See also Edit

 

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.