Page MenuHomePhabricator

OpenSearch API for Wikidata returns no results
Open, LowestPublic

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

Details

Reference
bz51172

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:44 AM
bzimport set Reference to bz51172.
bzimport added a subscriber: Unknown Object (MLST).

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 removed a subscriber: Unknown Object (MLST).
Lydia_Pintscher removed a subscriber: Unknown Object (MLST).
debt subscribed.

This doesn't look like something that the Discovery-Search team will work on, as it's the OpenSearch API. If there is something specific you want us to do, please ping us.

Smalyshev lowered the priority of this task from Low to Lowest.May 3 2019, 10:29 PM