Last modified: 2012-12-13 11:21:12 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 T42392, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40392 - API for entity search
API for entity search
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
storypoints: 8
:
Depends on: 40391
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-20 12:59 UTC by denny vrandecic
Modified: 2012-12-13 11:21 UTC (History)
3 users (show)

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


Attachments

Description denny vrandecic 2012-09-20 12:59:51 UTC
Expose the prefix search in the API, and return a list of Item ID, Label, Description. If easy, comply to the OpenSearch spec (or else open a bug for that).
Comment 1 denny vrandecic 2012-09-20 15:45:42 UTC
Drop OpenSearch here, it does not make sense.

Incoming parameters are: prefix, language, entitytype.

Returned is a sorted array of hits. Each hit contains an ID, a label (optional), a description (optional), and 1 alias (optional and iff hit on the given alias).
Comment 2 denny vrandecic 2012-09-27 08:39:46 UTC
Forget the spec here, take the one here: http://meta.wikimedia.org/wiki/Wikidata/Development/wbsearchentity
Comment 3 abraham.taherivand 2012-11-14 16:48:16 UTC
verified on internal demo system

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


Navigation
Links