Thanks! And sorry for the wrong email list!

--
Jason Ji
jason.y.ji@gmail.com


On Mon, Apr 28, 2014 at 2:54 PM, Brad Jorsch (Anomie) <bjorsch@wikimedia.org> 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 <jason.y.ji@gmail.com> 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
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api