Last modified: 2014-04-23 14:46:37 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 T52305, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50305 - Make property info (data type, labels) available via the API
Make property info (data type, labels) available via the API
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Wikidata bugs
cleanup
: need-volunteer, performance
Depends on: 49742
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-27 17:44 UTC by Daniel Kinzler
Modified: 2014-04-23 14:46 UTC (History)
5 users (show)

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


Attachments

Description Daniel Kinzler 2013-06-27 17:44:43 UTC
The essential info about properties should be available via the API in an efficient way that does not involve loading full entities.

Essentially, we'd want a web API for PropertyInfoStore and PropertyLabelResolver.
Comment 1 Kunal Mehta (Legoktm) 2013-08-31 09:38:59 UTC
Is this considered fixed? https://www.wikidata.org/w/api.php?action=wbgetentities&ids=p31&props=datatype&format=jsonfm
Comment 2 Daniel Kinzler 2013-10-29 16:52:13 UTC
@Kunal: no - wbgetentities retrieves the full blob from the text storage backend and filters the output. This is a LOT slower than getting the appropriate info from PropertyInfoStore and PropertyLabelResolver.

We could optimize these special cases in wbgetentities, or create a separate api module. But we should do one of these two.

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


Navigation
Links