On Tue, 29 Apr 2014 00:09:06 +0200, Alex Monk <krenair@gmail.com> wrote:That is, `mw.config.get( 'wgNamespaceIds' )` – this returns an object with keys like 'talk', for each namespace defined on the given wiki.
I think you want wgNamespaceIds.
See also https://www.mediawiki.org/wiki/Manual:Interface/JavaScript#mw.config .
--
Matma Rex
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api