Page MenuHomePhabricator

Clicking on a search suggestion goes to a wrong page
Closed, DeclinedPublic

Description

When I click a search suggestion on Wikipedia it takes me to a wrong page.

How to reproduce:

  1. go to some page on English Wikipedia, e.g. https://en.wikipedia.org/wiki/SuperSport
  2. write supersport to the search bar in the upper right corner
  3. click "Supersport" (note: not "SuperSport")

and after this it goes to https://en.wikipedia.org/wiki/SuperSport when it should go to https://en.wikipedia.org/wiki/Super_sport (because Supersport is a redirect page)

So seems like the search ignores uppercase letters or something like that.


Version: wmf-deployment
Severity: normal
Whiteboard: cirrus-fixed

Details

Reference
bz62455

Event Timeline

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

Confirming. And:

This feature is served by a combination of MediaWiki, the MWSearch extension, and the TitleKey extension. They all play pretty intricately here, unfortunately. TitleKey in particular is designed not to care about capitalization.

When we upgrade the wiki to CirrusSearch it'll replace both MWSearch and TitleKey and _should_ fix this. It still tries to squash case but it then has a recheck phase where it'll find the best match based on some heuristics like "what if I capitalize the first letter, does that find only one page?" That particular one should fix this.

It isn't enough just to enable CirrusSearch as a betafeature, unfortunately, because this is the one place where that doesn't take effect. TitleValue still "wins".

So, tl/dr: it should "just" "fix itself" in a few months. You can't opt in to fixing it earlier right now because of a bug though we might fix that faster then a few months.

Marking WONTFIX since lsearchd/MWSearch is end of life'd and this will be resolved by further Cirrus deploys.