Forum:Count pages in main namespace

Does anyone know a way to easily count the non-redirect pages in ONLY the main namespace? Or at least to count the redirects, which can be subtracted from the total page count.

Thanks! Psychoadept (talk) 13:00, August 16, 2012 (UTC)


 * Short answer: gives . :)
 * Long answer: you might be interested in reading http://www.mediawiki.org/wiki/Manual:Article_count and http://www.mediawiki.org/wiki/Help:Magic_words -452 00:45, August 17, 2012 (UTC)


 * Except that some of the namespace magic words don't seem to be working. -- 21:32, August 17, 2012 (UTC)


 * NUMBEROFARTICLES appears to be working fine, and addresses the question asked.
 * It's very possible that some magic words are disabled on wikia for any number of reasons - which are you having trouble with? -452 21:59, August 17, 2012 (UTC)

NUMBEROFARTICLES doesn't work for this because we have three content namespaces, and it will count all of them. PAGESINNS doesn't work because it includes all the redirects. Psychoadept (talk) 22:47, August 17, 2012 (UTC)