OpenSearch API for Wikidata returns no results
OpenPublic

Description

The OpenSearch API on wikidata.org returns an empty list always.

See e.g. http://www.wikidata.org/wiki/Special:ApiSandbox#action=opensearch&format=json&search=D&limit=10


Version: unspecified
Severity: normal

bzimport added a subscriber: wikidata-bugs.
bzimport set Reference to bz51172.
Denny created this task.Via LegacyJul 11 2013, 2:26 PM
brion added a comment.Via ConduitJul 12 2013, 5:23 PM

Technically it's working fine, it just isn't very helpful because the main namespace holds only data items with non-meaningful titles:

https://www.wikidata.org/w/api.php?action=opensearch&search=Q

[

"Q",
[
    "Q2242097",
    "Q658177",
    "Q13471093",
    "Q1918357",
    "Q2394646",
    "Q2311185",
    "Q1043760",
    "Q840343",
    "Q229548",
    "Q223323"
]

]

You probably want to use some hooks (I *think* there are some already) to replace the OpenSearch handler's prefix searching with something more wikibase-friendly.

Lydia_Pintscher added a project: Wikidata.Via WebDec 1 2014, 3:00 PM
Lydia_Pintscher removed a subscriber: wikidata-bugs.
Lydia_Pintscher removed a subscriber: wikidata-bugs.

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.