Page MenuHomePhabricator

Langlinks endpoint is not returning articles for on KaiOS
Closed, ResolvedPublicBUG REPORT


There was a bug in the iOS app where the Article View > Choose alternate language > Language list filtered out the "Norwegian (Bokmål)" result even though it exists in It looks like this bug exists on KaiOS too.

This is because the subdomain code and language code differs for this wiki (subdomain is and language code is nb). The results from the langlinks endpoint returns it under "nb" rather than "no", so if you are only looking for "no" you will have problems when filtering for an alternate language (see here in the KaiOS codebase).

iOS fixed this by adding an additional property with "nb" to this object and adding the additional check when showing the article languages list.