dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f2ab1c
)
Only do stripforsearch if we are using MySQL, per bug # 8470
author
Greg Sabino Mullane
<greg@users.mediawiki.org>
Wed, 3 Jan 2007 16:36:05 +0000
(16:36 +0000)
committer
Greg Sabino Mullane
<greg@users.mediawiki.org>
Wed, 3 Jan 2007 16:36:05 +0000
(16:36 +0000)
languages/Language.php
patch
|
blob
|
history
diff --git
a/languages/Language.php
b/languages/Language.php
index
e0ad7e6
..
aa83839
100644
(file)
--- a/
languages/Language.php
+++ b/
languages/Language.php
@@
-954,6
+954,11
@@
class Language {
* @return string
*/
function stripForSearch( $string ) {
+ global $wgDBtype;
+ if ( $wgDBtype != 'mysql' ) {
+ return $string;
+ }
+
# MySQL fulltext index doesn't grok utf-8, so we
# need to fold cases and convert to hex