Page MenuHomePhabricator

๐Ÿง„ Use ItemPrefixSearch use case implementations for wbsearchentities
Closed, ResolvedPublic13 Estimated Story Points

Description

Make use of the REST API Item prefix search use cases for wbsearchentities.

Current differences:

  • no distinction between search and result language in REST use case
  • type parameter in Action API will serve as an indicator which use case to delegate to (Item or Property)
  • strictlanguage parameter allows to disable language fallback
  • props parameter allows to show the URL of search results
  • profile parameter allows switching to 'language' search profile
  • response format
  • error messages
  • maybe create an ADR with conclusions how to refactor legacy code according to ADR 25 (Wikibase modularization)

A/C:

  • output format and error messages do not change

Event Timeline

WMDE-leszek renamed this task from Use Item use case implementations for wbsearchentities to Use ItemPrefixSearch use case implementations for wbsearchentities.
WMDE-leszek set the point value for this task to 13.
ItamarWMDE renamed this task from Use ItemPrefixSearch use case implementations for wbsearchentities to ๐Ÿง„ Use ItemPrefixSearch use case implementations for wbsearchentities.Apr 1 2026, 9:37 AM

Change #1266499 had a related patch set uploaded (by Jakob; author: Jakob):

[mediawiki/extensions/Wikibase@master] [DNM] Demo ItemPrefixSearch in wbsearchentities

https://gerrit.wikimedia.org/r/1266499

Change #1266499 abandoned by Jakob:

[mediawiki/extensions/Wikibase@master] [DNM] Demo ItemPrefixSearch in wbsearchentities

Reason:

the proper implementation exists now

https://gerrit.wikimedia.org/r/1266499