Last modified: 2014-02-12 23:53:17 UTC
(Apologies if this is in the wrong section - I haven't used Bugzilla in quite a while.) This involves the en.m.wikipedia.org site, checked in a variety of non-mobile browsers (Firefox 9 under Ubuntu, Firefox 9 and IE 7 under Windows XP). * If I type a valid page title (eg, "fish") into the search box, wait for the dropdown, and click on it, it sends me to the "fish" article on the mobile site (en.m.wp) * If I hit enter after typing, rather than using the autocomplete dropdown, it sends me to the "fish" article in the regular site (en.wp) * If I type in something that doesn't match as a page title - "fish fish" - and hit enter, it sends me to the search results page on the mobile site (en.m.wp) The second should probably go straight to the article on en.m.wp - if the user's reading the mobile site, they probably want to stay there! I'm not quite sure what's going on here, or why it *doesn't* seem to happen when using a mobile device.
That's a nasty inconsistency. We'll put this into our backlog
Note: This is because when hitting enter this submits the form which currently navigates the user to http://en.m.wikipedia.org/w/index.php?search=fish which redirects to the main site.
It seems Special:Search wasn't properly handled in the beforePageRedirect hook invocation in MobileFrontend. I added proper handling in r113199, which seems to resolve the issue locally.