Skip to content

App: provide namespaces from enwiki API to all child components

Eric Gardner requested to merge provide-namespaces into main

We need information about namespaces in multiple views and components of the application; the data is needed to go between numerical NS ids and string prefixes (Talk: equals NS1, etc).

In the future we may want to rely on a more "proper" approach for parsing MediaWiki titles and namespaces; if we decide to go down that route we will still need the "siteinfo" API response ASAP in order to do client-side parsing.

Merge request reports