Steps to replicate the issue (include links if applicable):
- Load https://www.wikidata.org/w/api.php?action=query&format=json&meta=languageinfo&liprop=code|name|dir
What happens?:
Some rtl languages are marked as ltr, e.g. cja-arab (Western Cham (Arabic script)), cjm-arab (Eastern Cham (Arabic script)), haz (Hazaragi), hbo (Biblical Hebrew), jrb (Judeo-Arabic), jpr (Judeo-Persian), ota (Ottoman Turkish), shy-arab (Shawiya (Arabic script)).
Special codes such as mis ("unsupported language"), mul (multiple languages), und (undetermined language) and zxx (no linguistic content) are also marked as ltr even though the direction is by definition unknown.
What should have happened instead?:
The direction information should be accurate. If the direction is not known, it should not assume that it is ltr.
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):