https://bugzilla.wikimedia.org/show_bug.cgi?id=72153

            Bug ID: 72153
           Summary: meta=siteinfo should allow client to identify RTL
                    languages
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: jrob...@wikimedia.org
                CC: bjor...@wikimedia.org, bryan.tongm...@gmail.com,
                    roan.katt...@gmail.com, s...@reedyboy.net
       Web browser: ---
   Mobile Platform: ---

https://en.m.wikipedia.org/w/api.php?action=query&format=json&meta=siteinfo&siprop=general%7Clanguages&prop=langlinks&llurl=true&lllimit=max&titles=Tofu

This returns a list of language codes
languages: [ {code:aa, *:Qafár af} ...{lang:he,
url:https://he.wikipedia.org/wiki/%D7%98%D7%95%D7%A4%D7%95, *:טופו} ]

In mobile we need to identify which languages are RTL and which are not.

Expected: Return a rtl property when a language is RTL
languages: [ {code:aa, *:Qafár af } ... {lang:he,
url:https://he.wikipedia.org/wiki/%D7%98%D7%95%D7%A4%D7%95, *:טופו, rtl: true
}]

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to