https://bugzilla.wikimedia.org/show_bug.cgi?id=24282

Steef <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Steef <[email protected]> 2010-07-10 19:04:27 UTC ---
It seems to me (I don't know the code) that the search engine ignores some
characters, for example leading and following spaces and brackets. But the
highlighting doesn't do so.

Example (dewiki):
If you enter " sinus ", you get
 Sinus cnd Kosinus
 Sinus cis
 [...]
 Sinus caroticus
 Sinus cavernosus
instead of
 Sinus und Kosinus
 Sinusitis
 [...]
 Sinus caroticus
 Sinus cavernosus

If you add an additional space, every suggestion starts with "Sinus cav".

So I think, the highlighting in Javascript (it isn't in the Ajax-answer) takes
the number of charakters of the search input and uses so much characters of the
last suggestion and puts them bold in front of the results.

And this isn't a browser issue: It is also wrong in Chrome and Opera (I didn't
test safari, but think it is the same there). This error only occurs in
Vector-Skin, because in Monobook, the results are not highlighted bold.

Trimming the same Characters at the back and front in the Javascript function
which are trimmed in the search engine should resolve this issue.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to