Sort of. There's a 'statistics' section available in action=query, meta=siteinfo. See the bottom of this page: http://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=general|namespaces|statistics&format=jsonfm

There might be another way, but this is the easiest off the top of my head.

Mahmoud


On Tue, May 7, 2013 at 6:33 PM, Chux <chux18@gmail.com> wrote:
Hi,

I was wondering if there is a way to know how many pages are inside a namespace, for example how many pages are "Categories", or how many pages are "Articles"?

Thanks,
Chux

_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api