Last modified: 2014-10-24 11:05:40 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 T20181, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18181 - Prune unneeded redirects from SimpleSearch's autosuggest dropdown
Prune unneeded redirects from SimpleSearch's autosuggest dropdown
Status: NEW
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
1.25-git
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-26 17:03 UTC by Dan Barrett
Modified: 2014-10-24 11:05 UTC (History)
1 user (show)

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


Attachments

Description Dan Barrett 2009-03-26 17:03:14 UTC
Auto-suggest (skins/common/mwsuggest.js) is fantastic for users, but it also confuses users when redirects are displayed. When someone types "tree frog" into the Wikipedia search box and pauses, they see four redundant entries in the dropdown:

Tree Frog
Tree frog
Tree frogs
Tree Frogs

This redundancy is confusing to users -- "Which one do I choose?" they ask. I see this all the time at my company.  People are actually afraid they might choose the wrong one, not realizing that they all lead to the same article.

I'm NOT suggesting you remove redirects from the dropdown - they are very important when the redirect is very different from the article title.  But surely this list can be pruned to reduce confusion?

I suggest that a redirect should be OMITTED from the autosuggest dropdown if BOTH of the following are true:

- The target article's title also appears in the dropdown; AND,
- The redirect's title is highly similar to the target article's title

What is "highly similar"?

- Identical except for upper/lower case
- Identical except for 1-3 trailing characters?
- Other clever rules?

I also suggest this pruning feature should be controlled by a global variable ($wgMWSuggestPruning = true) and a user preference.
Comment 1 Andre Klapper 2014-10-24 01:03:14 UTC
(In reply to Dan Barrett from comment #0)
> Auto-suggest (skins/common/mwsuggest.js) is fantastic for users, but it also
> confuses users when redirects are displayed.

mwsuggest was replaxed by SimpleSearch in https://bugzilla.wikimedia.org/show_bug.cgi?id=40448 - is this still an issue?
Comment 2 Dan Barrett 2014-10-24 01:39:46 UTC
Yes, SimpleSearch also displays every match, so it's subject to the same issue.

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


Navigation
Links