Last modified: 2014-11-04 09:27:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T65059, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63059 - wbparsevalue API calls are missing the lang option
wbparsevalue API calls are missing the lang option
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
master
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=frontend p=5 s=2014-10-28
:
: 72633 (view as bug list)
Depends on:
Blocks: 72393
  Show dependency treegraph
 
Reported: 2014-03-25 12:19 UTC by Thiemo Mättig
Modified: 2014-11-04 09:27 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Thiemo Mättig 2014-03-25 12:19:58 UTC
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.
Comment 1 tobias.gritschacher 2014-10-28 17:38:59 UTC
*** Bug 72633 has been marked as a duplicate of this bug. ***
Comment 2 Henning 2014-10-29 10:40:17 UTC
https://github.com/wmde/ValueView/pull/122

^ Requires adaption in Wikibase.
Comment 3 Henning 2014-10-29 13:36:35 UTC
https://gerrit.wikimedia.org/r/#/c/169682/
Comment 4 Gerrit Notification Bot 2014-10-31 12:20:00 UTC
Change 169682 had a related patch set uploaded by Tobias Gritschacher:
Adapt to ValueView 0.8.0

https://gerrit.wikimedia.org/r/169682
Comment 5 Gerrit Notification Bot 2014-10-31 18:57:06 UTC
Change 169682 merged by jenkins-bot:
Adapt to ValueView 0.8.0

https://gerrit.wikimedia.org/r/169682

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links