MediaWiki – List all namespaces and their ID numbers

Friday, March 23, 2012 13:13
Posted in category Web

To list all available namespaces and their ID numbers in MediaWiki you have to query MediaWiki’s api.

Simpy open the following address in your browser:


*replacing http://www.mywebsite.tld/mediawiki_installation with the path to your MediaWiki page.

This will return a XML representation of Namespaces data.

You can leave a response, or trackback from your own site.

Leave a Reply

Connect with Facebook