Lucas_Werkmeister_WMDE added a comment.

  In T316093#8228209 <https://phabricator.wikimedia.org/T316093#8228209>, 
@Michael wrote:
  
  > I noticed that as well. I think, I've probably introduce a bug somehwere in 
my PoC, but didn't want to spend time searching for it, because that was really 
only intended as trying out and showing that it works in principle.
  
  I think it’s a limitation of the Codex or Vector code – it looks like the 
search form just sets up a literal HTML form something like this:
  
    <form action="/w/index.php"> <!-- plus other attributes -->
      <!-- lots of markup ... -->
        <input name="search"> <!-- plus other attributes -->
      <!-- more markup -->
      <input type="hidden" name="title" value="Special:Search">
      <input type="hidden" name="wprov" value="acrw1">
    </form>
  
  And when you press Enter, the browser navigates to 
`/w/index.php?search=searchInputValue&title=Special:Search&wprov=acrw1` because 
you’ve submitted the form. The only reason that on Wikipedia you end up on 
regular article pages is that Special:Search redirects to the page with a 
matching title – you can see that happen in the network monitor:
  F35518013: image.png <https://phabricator.wikimedia.org/F35518013>
  
  But that’s not going to work for Wikidata, I think.

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

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

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, jhsoby, Aklapper, Michael, Astuthiodit_1, 
karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org

Reply via email to