Last modified: 2014-02-21 11:16:38 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 T53172, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51172 - OpenSearch API for Wikidata returns no results
OpenSearch API for Wikidata returns no results
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Wikidata bugs
: need-volunteer
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-11 14:26 UTC by denny vrandecic
Modified: 2014-02-21 11:16 UTC (History)
3 users (show)

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


Attachments

Description denny vrandecic 2013-07-11 14:26:50 UTC
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
Comment 2 Brion Vibber 2013-07-12 17:23:54 UTC
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.

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


Navigation
Links