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).
Version: unspecified
Severity: normal
Whiteboard: storypoints: 8
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).
Version: unspecified
Severity: normal
Whiteboard: storypoints: 8
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | None | T42392 API for entity search | |||
Resolved | None | T42391 Prefix search over all labels and aliases |
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).
Forget the spec here, take the one here: http://meta.wikimedia.org/wiki/Wikidata/Development/wbsearchentity