Last modified: 2014-10-23 02:31:32 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 T42622, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40622 - Set $wgUseTwoButtonsSearchForm = false by default
Set $wgUseTwoButtonsSearchForm = false by default
Status: NEW
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: Future release
Assigned To: Nobody - You can work on this!
: design
Depends on:
Blocks: 40621 50039
  Show dependency treegraph
 
Reported: 2012-09-29 18:10 UTC by Daniel Friesen
Modified: 2014-10-23 02:31 UTC (History)
4 users (show)

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


Attachments
Current behaviour (UseTwoButtonsSearchForm=true) (12.74 KB, image/png)
2014-09-02 15:48 UTC, Krinkle
Details
Proposed behaviour (UseTwoButtonsSearchForm=false) (15.32 KB, image/png)
2014-09-02 15:48 UTC, Krinkle
Details

Description Daniel Friesen 2012-09-29 18:10:44 UTC
Having two search submit buttons is bad for site usability. Users end up confused both what button to click and what the heck the difference between them is.

This actually got us a place in a list of things NOT to do:
http://www.smashingmagazine.com/2008/12/04/designing-the-holy-search-box-examples-and-best-practices/

This is basically why simplesearch was introduced in vector.

For other skins however we actually have $wgUseTwoButtonsSearchForm. Which when set to false replaces the unusable "Go" + "Search" with a single "Go" button and an "Advanced search" link that links to the search page and acts as a usable replacement for the fulltext search button.
Comment 1 Daniel Friesen 2012-09-30 15:00:40 UTC
We may also want to consider making it so that the go button in the single-button form says "Search" not "Go". "Go" is a bad name for a search button.
Comment 2 Quim Gil 2013-04-02 05:43:14 UTC
fwiw I agree. Who decides?
Comment 3 Krinkle 2013-04-13 04:12:28 UTC
(In reply to comment #2)
> fwiw I agree. Who decides?

The decision shall be made by those who are to blame[1] for the effect the decision will cause.

[1] https://en.wikipedia.org/wiki/User:MZMcBride/Blame_wheel

In all seriousness, I'd say put up a change in Gerrit and we'll see whether those who review changes will approve.

In more seriousness, I approve.
Comment 4 Krinkle 2014-03-21 22:21:54 UTC
For the record, these are only used by MonoBook and CologneBlue.
Comment 5 Gerrit Notification Bot 2014-07-11 06:41:27 UTC
Change 145517 had a related patch set uploaded by Rohan013:
$wgUseTwoButtonForm is set to false by default

https://gerrit.wikimedia.org/r/145517
Comment 6 Krinkle 2014-09-02 15:43:16 UTC
Note: This is no longer used by MonoBook and not used by Vector either. Only used by mediawiki/skins/Nostalgia. Perhaps we should subst Nostalgia's two button form and rid the varirable?
Comment 7 Krinkle 2014-09-02 15:45:35 UTC
Ah, Config class made it harder to find. Looked for $?wgUseTwoButtonsSearchForm instead of UseTwoButtonsSearchForm.

Both MonoBook and CologneBlue actually still use it.
Comment 8 Krinkle 2014-09-02 15:48:06 UTC
Wikimedia doesn't currently override this configuration variable so changing this would affect Wikimedia wikis.
Comment 9 Krinkle 2014-09-02 15:48:25 UTC
Created attachment 16342 [details]
Current behaviour (UseTwoButtonsSearchForm=true)
Comment 10 Krinkle 2014-09-02 15:48:44 UTC
Created attachment 16343 [details]
Proposed behaviour (UseTwoButtonsSearchForm=false)
Comment 11 Trevor Parscal 2014-09-24 01:10:40 UTC
As stated, we should move away from having a "Go" button. Also, please notice that the search suggestions for Monobook are now the same as Vector, so they contain both exact matches (which "go") and a final "containing..." option (which "search"es).

I suggest:

1. We rename the "Go" button search, which is more consistent with the Vector search icon button.
2. We drop the advanced search button, since we have it through the suggestions. If we must keep it, it needs to actually go to the advanced tab of the search page.
Comment 12 Daniel Friesen 2014-09-24 01:17:24 UTC
(In reply to Trevor Parscal from comment #11)
> 2. We drop the advanced search button, since we have it through the
> suggestions. If we must keep it, it needs to actually go to the advanced tab
> of the search page.

How about hiding it with JS.
Comment 13 Gerrit Notification Bot 2014-10-23 02:31:32 UTC
Change 145517 abandoned by Krinkle:
Set $wgUseTwoButtonsSearchForm false by default

Reason:
The bug is still under consideration. As it this, this feature would not be enabled by default. Patch can be re-opened or resubmitted later.

https://gerrit.wikimedia.org/r/145517

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


Navigation
Links