Author: howiewiki
Description:
Please see: http://meta.wikimedia.org/wiki/2010_Wikimedia_design_and_feature_change/Bug_reports#Search_works_incorrectly_with_brackets_and_hyphen
Search suggestions are displayed incorrectly, though the links appear to work properly. The following is copied from the report on meta:
Expected behavior
If one types some search query with brackets or hyphen, old search usually ignored these symbols and offered variants both with and without these symbols
Observed behavior
Also new search does ignore these symbols, suggestions are displayed incorrectly. All of them tend to have the same symbol on the place of a bracket or a hyphen, which may be different for different suggestions. For example, Динамо Київ was typed on screenshot 1, the bottom variant really is Динамо Київ (журнал), although the top one is different, it is Динамо (Київ), incorrectly displayed as Динамо Київв). Same for screenshot 2, all links but the bottom one begin with Динамо (с, the bottom one begins with Динамо-С, and this variant is copied for other variants. However, links are correct
Steps to reproduce
Type any search query where some of the suggestions have brackets and/or hyphen and some not
Here are direct links to screenshots:
http://meta.wikimedia.org/wiki/File:VectorSearchBug1.jpg
http://meta.wikimedia.org/wiki/File:VectorSearchBug2.jpg
Version: unspecified
Severity: major