[Mediawiki-l] Special:Statistics - NUMBEROFARTICLES

Schneelocke schneelocke at gmail.com
Tue Aug 7 19:37:01 UTC 2007

2007/8/7, Jason Spirko <jspirko at xorantech.com>:
> I have a question regarding the method MediaWiki counts the articles in the wiki. I have setup several custom namespaces in my wiki. I would like to display the number of articles using the "Special:Statistics|{{NUMBEROFARTICLES}}" parameter. But when I invoke this on a page it only shows one article, even though I have about 100 pages throughout the wiki.
> Is assume this is only counting pages in the NS_Main namespace since I only have one page in NS_Main. Is this correct? If so, how do I display the count of *all* pages in the wiki?

{{NUMBEROFPAGES}} should be what you're looking for. :)


More information about the MediaWiki-l mailing list