Page MenuHomePhabricator

Can’t go to a page directly from suggestions with MediaSearch
Closed, DeclinedPublic

Description

Although MediaSearch is generally helpful, it does not redirect to the page by clicking on search suggestions (or pressing Enter) like the old one does. This makes it inconvenient if you want to go to an actual page instead of going to it the long way.

Steps to reproduce:

  1. Open https://commons.wikimedia.org/wiki/Commons:Structured_data/Media_search anonymously (= with old Vector enabled).
  2. Enter Wikipedia/2.0 in the search box. (Was Wikipedia logo previously, changing to make this more apparent.)
  3. Click on a search suggestion or press Enter.
  4. See that Special:MediaSearch is opened instead of the gallery page.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

This is intended behavior, and Special:Search doesn't work that way either. If you'd like this to work as you describe, you need to to turn it on in your preferences:

https://commons.wikimedia.org/wiki/Special:Preferences#mw-prefsection-searchoptions - "Redirect to exact matches when searching Select to get redirected to a page when that page title matches what you have searched for"

This is intended behavior, and Special:Search doesn't work that way either.

Unless I do not know something about Commons specifically, all MediaWiki sites redirect to the pages in question 1) on click for page suggestions and 2) on entering a text matching a page name in Vector skin. The problem with the first is that MediaSearch replaces the default search suggestions with itself and does not provide redirection. Maybe the second always differed on Commons though, I can’t be sure. Either way, please reconsider declining this task and set its scope to at least fixing (1), the fact that Commons displays page suggestions and they don’t redirect anywhere but MediaSearch is a definite UX failure and differs wildly from default expectations on all MediaWiki sites.

This comment was removed by stjn.