Lucas_Werkmeister_WMDE added a comment.

  @phuedx told me that there is a user setting where Special:Search will not 
redirect to an article whose title exactly matches the search term 
(`search-match-redirect` option, `SpecialSearch::redirectOnExactMatch()`). As 
far as I’m aware, it’s very rare for users to customize this setting, but it’s 
enabled by default on Wikimedia Commons (see the Leonardo da Vinci example in 
the task description), so it’s still relevant. We thought this was likely the 
reason that the search result links point to Special:Search.
  
  But either way – I’m not proposing to change this :) as far as we’re 
concerned for Wikidata, we only need to bypass Special:Search for Wikidata 
search results, by setting the search result’s URL to the item page URL. 
Regular search results on other wikis could still go through Special:Search – 
they should just do that by loading the URL from the search result (which is a 
Special:Search URL), rather than by submitting the search as an HTML `<form>`.

TASK DETAIL
  https://phabricator.wikimedia.org/T317681

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: EBernhardson, phuedx, AnneT, Jdlrobson, Michael, Aklapper, jhsoby, 
Lucas_Werkmeister_WMDE, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, 
NavinRizwi, ItamarWMDE, Akuckartz, Dinadineke, DannyS712, Nandana, 
Amorymeltzer, tabish.shaikh91, Lahi, Gq86, GoranSMilovanovic, Jayprakash12345, 
JakeTheDeveloper, QZanden, merbst, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Wikidata-bugs, aude, Dinoguy1000, TheDJ, Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to