Last modified: 2014-06-12 00:07:30 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32884, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30884 - Go directly to an article if we have an exact search match.
Go directly to an article if we have an exact search match.
Status: RESOLVED DUPLICATE of bug 66506
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-13 18:03 UTC by Tomasz Finc
Modified: 2014-06-12 00:07 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tomasz Finc 2011-09-13 18:03:16 UTC
Instead of surfacing the search results page why don't we go directly to an article if there is an exact match.
Comment 1 Patrick Reilly 2011-09-13 19:23:31 UTC
Fixed in r96994.
Comment 2 Ryan Kaldari 2014-06-11 23:59:48 UTC
Reopening per complaint at en.wiktionary.

A few months ago we changed the default search behavior so that it takes users to the search results page instead of an explicit match. The reasoning was:
* If the user has Javascript, they can click on a result from the drop-down.
* If the user doesn't have Javascript, we should send them to the full search results since they don't otherwise have a way to access it.

I was fairly skeptical of this approach when it was implemented, but decided to go along with it and see what the reaction was. We now have an official complaint, so I think we should revisit the issue.

Although it is more complicated to implement, I think the search bar should work as follows:
* If the user has Javascript, and they hit enter, the user should be sent to an exact match (if there is one).
* If the user doesn't have Javascript, and they hit enter, the user should be sent to the search results page regardless.

(The difference is whether we pass 'fulltext' in the search submission.)
Comment 3 Ryan Kaldari 2014-06-12 00:07:30 UTC

*** This bug has been marked as a duplicate of bug 66506 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links