--- SearchSuggest.php.orig 2009-07-21 14:35:45 +0400 +++ SearchSuggest.php 2009-07-21 14:35:24 +0400 @@ -51,7 +51,7 @@ $res = $db->select( 'page', 'page_title', array( 'page_namespace' => 0, - "UPPER(page_title) LIKE '%" .$db->strencode( strtoupper ($term)). "%'" ), + "UPPER(page_title) LIKE '%" .$db->strencode( $wgContLang->uc ($term)). "%'" ), "wfSajaxSearch", array( 'LIMIT' => $limit ) ); @@ -59,7 +59,7 @@ $res = $db->select( 'page', 'page_title', array( 'page_namespace' => 0, - "UPPER(page_title) LIKE '". $db->strencode( strtoupper ($term)) ."%'" ), + "UPPER(page_title) LIKE '". $db->strencode( $wgContLang->uc ($term)) ."%'" ), "wfSajaxSearch", array( 'LIMIT' => $limit ) );