Manual:$wgContentNamespaces

Details
$wgContentNamespaces exists to allow man>Special:MyLanguage/Manual:Using custom namespaces|custom namespaces to be acknowledged as containing useful content for the purpose of Special:Random, Special:Statistics, and  .

Useful if additional namespaces also contain "content" which should be considered when choosing a random page or generating a count of the number of articles in the wiki.

It also serves as the default for , which means that  __NOINDEX__  and  __NOFOLLOW__  magic words won't work in these namespaces.

The main namespace is considered a content namespace, as are other namespaces in this array, referenced by index.

Example:

or

If you change this variable, you'll have to run  to update the count in Special:Statistics and  .