Page MenuHomePhabricator

Solve search inconsistencies. Suggestion: Replace item selector search box with normal search box
Open, MediumPublic


User Story: As a user, I want to have consistent search behavior across wikis and at UIs that look the same

Context of use:

  • For Wikidata: I assume the user would search mainly for items on Wikidata, but (with some search syntax) also for e.g. help or discussions.
  • For other Wikibase installations: Depending on focus and history of the Wiki, the needs might between "return just items" and "interested primarily in Wiki pages"

Current Problems: Currently, we patch an item selector on top of the normal search box. This leads to inconsistencies e.g. as described in T63948

Possible Solution: One way to improve the situation for the user to use the "normal" search input box.

Event Timeline

Jan_Dittrich triaged this task as Medium priority.Mar 12 2018, 2:27 PM
Jan_Dittrich created this task.

…This also might resolve the problem of using the same code to cater to two different usecases: Searching for an item to look at it and searching for an item to use it in another item.

I've briefly looked into doing this, but due to extensive level of overrides in the UI that Wikidata part does, I couldn't figure it out. I wrote some ideas about what we may want to be doing here:
But basically we need the ability to extend the standard search box.

Yurik added a subscriber: Yurik.Sep 26 2018, 4:09 PM

@Jan_Dittrich I think context of use is correct for Wikidata, but not for some other Wikibase installations. Wikibase may not be the centerpiece of the wiki installation.

For example, OpenStreetMap wiki has recently installed Wikibase extension. This caused some community members to complain that the searchbox suggester became useless - instead of showing useful information from the regular OSM wiki, it now shows just the wikibase items.

Jan_Dittrich updated the task description. (Show Details)Sep 27 2018, 7:13 AM

@Yurik : Thanks for pointing this out and for providing the graspable OSM example. I added the additional assessment of the usecase in the issue.

Yurik updated the task description. (Show Details)Sep 27 2018, 8:18 AM