Lucas_Werkmeister_WMDE added a comment.
I don’t think `wgVectorSearchUrlGenerator` solves our problem. The URL generator is used to generate URLs in the default `restSearchClient`, but we’re overriding the whole `wgVectorSearchClient`, so we can put whatever URLs we want into the search result objects we return. The problem is that those URLs aren’t always used – when you press Enter, Codex takes great pains to //not// preventDefault on the event or navigate to the selected search result’s URL, but to just let the browser submit the search form, i.e. navigate to `/w/index.php` (the `<form>`’s `action=`) with the parameters `search=abcde` (the user-visible input), `title=Special:Search` (a hidden input), and `wprov=acrw10` (another hidden input). TASK DETAIL https://phabricator.wikimedia.org/T317682 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc: dcausse, Gehel, Jdlrobson, Catrope, AnneT, jhsoby, Aklapper, Michael, Lucas_Werkmeister_WMDE, phuedx, hnijhuis, Astuthiodit_1, Patafisik_WMF, karapayneWMDE, Invadibot, MPhamWMF, Selby, Universal_Omega, maantietaja, NavinRizwi, CBogen, ItamarWMDE, Akuckartz, Demian, DannyS712, Nandana, Amorymeltzer, Lahi, Gq86, GoranSMilovanovic, QZanden, EBjune, LawExplorer, JJMC89, Iniquity, _jensen, rosalieper, Agabi10, Scott_WUaS, Volker_E, Wikidata-bugs, aude, Dinoguy1000, Mbch331, Jay8g
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
