[go: up one dir, main page]

Page MenuHomePhabricator

meta=languageinfo API returns incorrect direction for some languages
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

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.):