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


Brion Vibber <br...@wikimedia.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |br...@wikimedia.org
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Brion Vibber <br...@wikimedia.org>  2009-01-31 01:19:31 UTC 
---
The form returns results just fine for me...

SearchUpdate::doUpdate() takes the output of Language::stripForSearch() and
does further processing to strip markup etc. This includes running it through
strtolower() to make it entirely lowercase.

This extra lowercasing is *not* done by Special:Search, which produces the
discrepancy you noted -- only the input data is being lowercased.

Searching "ééé FUNKY" hits this query:

SQL: SELECT /*  WikiSysop */ page_id, page_namespace, page_title FROM
`page`,`searchindex` WHERE page_id=si_page AND  MATCH(si_title)
AGAINST('+U8c3a9U8c3a9U8c3a9 +funky' IN BOOLEAN MODE)  AND page_is_redirect=0
AND page_namespace IN ('0')   LIMIT 20 


However the backend search engine is case-insensitive so it shouldn't make a
difference. :)

Worth going ahead and fixing though, just in case. Applied on trunk (for 1.15)
in r46629


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to