Last modified: 2012-02-28 23:02:29 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 T31069, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29069 - Default option for pressing "Enter" in search box on Wikimedia Commons
Default option for pressing "Enter" in search box on Wikimedia Commons
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-21 10:34 UTC by king.of.hearts.wiki
Modified: 2012-02-28 23:02 UTC (History)
2 users (show)

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


Attachments

Description king.of.hearts.wiki 2011-05-21 10:34:52 UTC
See bug 17471. Basically, per consensus at http://commons.wikimedia.org/wiki/Commons:Village_pump/Archive/2009/02#Default_our_search_box_to_.22Search.22_instead_of_.22Go.22 the system was modified so that hitting return on the keyboard uses the "Search" function rather than "Go." This makes a lot of sense for an image database where you rarely know the particular name of something you're searching for.

However, it is annoying when you do know the specific title of the image you want. For instance, if you type "File:Wikipedia-logo.svg" in the search bar, it takes you to http://commons.wikimedia.org/w/index.php?title=Special%3ASearch&search=File%3AWikipedia-logo.svg&fulltext=Search rather than http://commons.wikimedia.org/wiki/File:Wikipedia-logo.svg. Clearly, in this instance your intention is to get to the file directly.

If possible, I would like, when hitting "Enter" in a search box, for queries without a namespace to default to the "Search" option as it is now, and queries with a namespace to be reverted back to using the "Go" option. This was brought up in the subsection "Comments" of the linked discussion and received general support, but was brushed off to the side as less important than the main issue being discussed and never raised again until now.
Comment 1 Mark A. Hershberger 2011-05-21 13:02:41 UTC
This doesn't sound like a site request so much as a feature request for the MW software.
Comment 2 Roan Kattouw 2011-06-03 10:13:36 UTC
(In reply to comment #1)
> This doesn't sound like a site request so much as a feature request for the MW
> software.
That's right, we'd have to support this in software first. Shouldn't be too hard though.
Comment 3 Rd232 2012-02-28 23:02:29 UTC
Works for me: on Commons, File:Wikipedia-logo.svg in the search box + Enter goes direct to the file page, Fil:Wikipedia-logo.svg or just Wikipedia-logo.svg goes to search results.

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


Navigation
Links