Using plain strtolower() here broke non-English search for all databases except MySQL!
This commit is contained in:
parent
2bb3fd049d
commit
3a3472b7b4
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ class SearchUpdate {
|
|||
|
||||
wfProfileIn( $fname.'-regexps' );
|
||||
$text = preg_replace( "/<\\/?\\s*[A-Za-z][A-Za-z0-9]*\\s*([^>]*?)>/",
|
||||
' ', strtolower( " " . $text /*$this->mText*/ . " " ) ); # Strip HTML markup
|
||||
' ', $wgContLang->lc( " " . $text . " " ) ); # Strip HTML markup
|
||||
$text = preg_replace( "/(^|\\n)==\\s*([^\\n]+)\\s*==(\\s)/sD",
|
||||
"\\1\\2 \\2 \\2\\3", $text ); # Emphasize headings
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue