ALT Linux Bugzilla
– Attachment 3680 Details for
Bug 20839
Расширение SearchSuggest не предлагает страницы для поиска на русском
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Сам патч
SearchSuggest-fix-multibyte-search.patch (text/plain), 757 bytes, created by
Michael A. Kangin
on 2009-07-21 14:49:59 MSD
(
hide
)
Description:
Сам патч
Filename:
MIME Type:
Creator:
Michael A. Kangin
Created:
2009-07-21 14:49:59 MSD
Size:
757 bytes
patch
obsolete
>--- 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 ) > );
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 20839
: 3680