Thanks! And sorry for the wrong email list!

Jason Ji

On Mon, Apr 28, 2014 at 2:54 PM, Brad Jorsch (Anomie) <> wrote:
This mailing list is generally about the API itself, and not really about API client libraries. You'd might get more relevant help on wikitech-l, or a list about MediaWiki's JavaScript libraries if there is one.

On Mon, Apr 28, 2014 at 5:43 PM, Jason Ji <> wrote:
I know that there are several MediaWiki configuration values available in JavaScript through the object mediawiki, and I've made use of mw.config a fair bit as necessary. Right now, I want to access the enums for namespaces, such as NS_MAIN = 0 or NS_TALK = 1, from JavaScript. Are these exposed anywhere in the mediawiki object?

Brad Jorsch (Anomie)
Software Engineer
Wikimedia Foundation

Mediawiki-api mailing list