Steps to Reproduce:
Open https://m.wikidata.org/wiki/Q4115189?uselang=fkv as anonymous user
Actual Result:
Some languages (e.g. fkv, dag, ...) are only shown as codes, not using their names.
Languages (e.g. fkv, dag, ...), which are WikibaseContentLanguages, i.e. added to the list of MediawikiContentLanguages, don't seem to be (consistently?) available in the client side equivalent wikibase.WikibaseContentLanguages.js - the client-side service definiton as used in termbox.
(new window.wb.WikibaseContentLanguages()).getAllPairs()
yields an empty result and termbox falls back to showing the language code only.
The server-side implementation (via wbcontentlanguages) successfully gets to the language names however. This can be witness by opening the example and quickly looking at the termbox before client-side rendering replaces it.
Expected Result:
All valid content languages are shown using their name.
Meta:
This was discovered when researching T261851.
The fallback to show the language code in case of unknown languages was implemented as part of T217770.
Non-standard languages are a recurring topic for termbox. T231007 or T214969 may have overlap with the current topic.