Hide redirects from search suggestions (mwsuggest.js)
Closed, DeclinedPublic

Description

Author: foxyloxy.wikimedia

Description:
As described at http://en.wikipedia.org/wiki/Wikipedia:Village_pump_(proposals)#Stylistic_differences, the Search suggestion box suggests both articles and their redirects, so for example, when someone starts to type Albert Einsten they get suggested "Albert Einsten" AND "Albert einsten" (which is a redirect to the latter). To quote Pwnage8:
"It's really frustrating to type something and have five similar titles that are all redirects pop up. It's just clutter."
Is this possible to fix?
Sincerely,
[[en:Foxy Loxy]]


Version: 1.18.x
Severity: minor
URL: http://en.wikipedia.org/wiki/Wikipedia:Village_pump_(proposals)#Stylistic_differences

bzimport added a project: MediaWiki-Search.Via ConduitNov 21 2014, 10:22 PM
bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz16145.
bzimport created this task.Via LegacyOct 27 2008, 12:12 PM
demon added a comment.Via ConduitMar 28 2009, 12:50 AM
  • Bug 18212 has been marked as a duplicate of this bug. ***
bzimport added a comment.Via ConduitMar 28 2009, 9:43 AM

abutko wrote:

please, add checkbox to preferences, which will not show redirects in search
form suggest

bzimport added a comment.Via ConduitMar 28 2009, 4:04 PM

ahmad.m.sherif wrote:

proposed patch

This patch may help, but it needs to be reviewed by anyone from API assignees (perhaps Roan Kattouw <roan.kattouw@home.nl>).

Attached: mwsuggests.patch

Seb35 added a comment.Via ConduitAug 16 2009, 11:33 AM

I disagree with this bug. There are sometimes redirects which are not simply stylistic differences. For instance, on the French Wikipedia, [[:fr:Adam RA-17]] (a small airplane without its own article) redirects to [[:fr:Roger Adam]] (its constructor). If there are no more redirects in the search box, you don't know that the article Adam RA-17 exists when you search in the search box.

I purpose to either add a checkbox in the preferences (like Andrew Butko said) either mark the redirects in the search box (e.g. in italic):
''Adam RA-17''
Adam Raga
''Adam raga''

Krinkle added a comment.Via ConduitApr 6 2011, 10:22 PM

Redirects are indeed useful, especially for search suggestions.

If third party gadgets want a way to query the opensearch-api without redirects (ie. "Add boolean option to opensearch api to include/filter redirects"), then please open a seperate ticket for that.

matmarex added a project: JavaScript.Via WebDec 21 2014, 7:07 PM

Add Comment