Only do stripforsearch if we are using MySQL, per bug # 8470
This commit is contained in:
parent
6f2ab1c80a
commit
2e20425ffd
1 changed files with 5 additions and 0 deletions
|
|
@ -954,6 +954,11 @@ class Language {
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
function stripForSearch( $string ) {
|
function stripForSearch( $string ) {
|
||||||
|
global $wgDBtype;
|
||||||
|
if ( $wgDBtype != 'mysql' ) {
|
||||||
|
return $string;
|
||||||
|
}
|
||||||
|
|
||||||
# MySQL fulltext index doesn't grok utf-8, so we
|
# MySQL fulltext index doesn't grok utf-8, so we
|
||||||
# need to fold cases and convert to hex
|
# need to fold cases and convert to hex
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue