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

            Bug ID: 63059
           Summary: wbparsevalue API calls are missing the lang option
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: wikidata-b...@lists.wikimedia.org
          Reporter: thiemo.maet...@wikimedia.de
                CC: wikidata-b...@lists.wikimedia.org
       Web browser: ---
   Mobile Platform: ---

Example: Go to
https://www.wikidata.org/wiki/Q698639?setlang=la
and edit P1128 (number of employees). Inspect the API requests while typing.
They are missing the language.

https://www.wikidata.org/w/api.php?action=wbparsevalue&format=json&parser=quantity&values=12&options=%7B%7D

Expected:

https://www.wikidata.org/w/api.php?action=wbparsevalue&format=json&parser=quantity&values=12&options=%7B"lang":"la"%7D

I tried the same at wikidata.org and in my most recent development version and
it's the same.

This should probably block bug 62824.

-- 
You are receiving this mail because:
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