http://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=namespaces|namespacealiases&format=jsonfm

should be what you need.

On Tue, Jul 2, 2013 at 3:11 PM, Byrial Jensen <byrial@vip.cybercity.dk> wrote:
Hi, is there a file somewhere with a list of all namespace names and numbers for all the Wikimedia wikis. The list should at least have the canonical names, but preferably also any aliases. This is useful to find out which namespaces interwiki links and language links goes to.

The canonical names are in the siteinfo section of the XML dumps of each wiki, but not the aliases - and it is not practical to download complete dumps for all projects just to get namespace names.

Regards,
- Byrial

_______________________________________________
Xmldatadumps-l mailing list
Xmldatadumps-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/xmldatadumps-l