Page MenuHomePhabricator

[epic] Update autocomplete search box with metadata
Open, NormalPublic

Description

Let's update the autocomplete search box that is located near the top right of LTR language wikipedias (top left on RTL language wikipedias) to have it be similar to what we currently have on the Wikipedia.org portal page, mobile web and in the mobile apps (this would replace the existing jquery.suggestions possibly by using infused mw.widgets.TitleWidget).

We want to add metadata to the search box - images and wikidata descriptions - as is the norm within other portions of Wikimedia projects.

This would give users:

  • … a more modern, consistent experience,
  • … with images (if the PageImages extension is installed), and
  • … with descriptions (if the WikiBase extensions is installed)
  • also possibly will help to scrap jquery.suggestions
BeforeAfter

The current look and feel of the Wikipedia.org portal, mobile web and iOS mobile app search boxes with metadata:

Event Timeline

Jdforrester-WMF raised the priority of this task from to Normal.
Jdforrester-WMF updated the task description. (Show Details)
Jdforrester-WMF added a subscriber: Jdforrester-WMF.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 3 2016, 10:30 PM

A significant issue i see is that current autocomplete is backed by varnish caching, and TitleWidget is not. The change would need to be done very carefully to keep from blowing everything up

Deskana added a subscriber: Deskana.Feb 5 2016, 7:25 PM

This can't be prioritised by the Search Team right now, as we'd want to run an A/B test to be sure of the impact and we don't have the resources to do that at the minute. Moving this into the backlog.

Deskana moved this task from Needs triage to Search on the Discovery board.

@Jdforrester-WMF and I discussed this, and an alternative which accomplishes the desired technical effect (scrapping jquery.suggestions) is to make this technical change without the product change of also including images and Wikidata descriptions. There would be some minimal changes for users (slight font change, slight background colour change, etc.) but those are fine to do.

That sounds like the SearchInputWidget Florian was working on (https://gerrit.wikimedia.org/r/#/c/255436/). It uses the same opensearch API as backend, too.

matmarex removed a subscriber: matmarex.Feb 5 2016, 7:39 PM

Change 274328 had a related patch set uploaded (by Jforrester):
[WIP][POC][OMGWTFBBQ] Replace the searchSuggest box with an OOUI widget

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

debt added subscribers: JKatzWMF, Moushira, debt.

Adding this to the portal backlog.

I've included screenshots of what the existing wikipedia.org portal searchbox results with metadata looks like as well as what we can try as a test on en.wiki and other wiki's if they're up for it - possibly fr.wiki to start with.

debt renamed this task from Replace jquery.suggestions with an infused mw.widgets.TitleWidget on the simpleSearch tool to Replace jquery.suggestions with an infused mw.widgets.TitleWidget on the simpleSearch tool (updating en.wiki for search results with metadata).Jun 16 2016, 5:17 PM
debt added a subscriber: Jdrewniak.
Stemoc added a subscriber: Stemoc.Aug 1 2016, 5:16 AM

Moving this ticket to the Search sprint board for future work.

debt renamed this task from Replace jquery.suggestions with an infused mw.widgets.TitleWidget on the simpleSearch tool (updating en.wiki for search results with metadata) to [epic] Update autocomplete search box with metadata.Aug 31 2017, 3:37 PM
debt removed a project: Patch-For-Review.
debt updated the task description. (Show Details)
debt removed a subscriber: Moushira.
debt moved this task from needs triage to later on... on the Discovery-Search board.

Moving to the backlog board and later column for Search, as this work isn't a priority right now.

I just want to say this is a great idea and if there is any help I can do to make it happen, let me know.