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

            Bug ID: 72038
           Summary: wbgetentities language fallback inconsistencies
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
       Web browser: ---
   Mobile Platform: ---

when requesting wbgetentities with the languagefallback param, in xml format:

https://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q42&languages=ii&languagefallback=

vs. in json format:

https://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q42&languages=ii&format=json&languagefallback=

xml has 'for-language' like:

<label language="zh-cn" value="道格拉斯·亚当斯" for-language="ii" />

json format seems to be missing it.

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

Reply via email to