Topic on Extension talk:Arrays/archive 2

Array of available Namespaces

1
MarB-96 (talkcontribs)

Hi! is it somehow possible to create an array out of an API-result? I want to get an array of all Namespaces and the furthest I got was with an API-query:

api.php?action=query&meta=siteinfo&siprop=namespaces

There is the option to use the extension Jsoner, but I think this is a bit of an overkill since I am not querying from an external site..

Reply to "Array of available Namespaces"