Fix for r63578: also change wordSegmentation() to segmentByWord() here
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 11 Mar 2010 12:27:35 +0000 (12:27 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 11 Mar 2010 12:27:35 +0000 (12:27 +0000)
includes/search/SearchEngine.php

index 67790dd..28a85ae 100644 (file)
@@ -59,7 +59,7 @@ class SearchEngine {
                global $wgContLang;
 
                // Some languages such as Chinese require word segmentation
-               return $wgContLang->wordSegmentation( $string );
+               return $wgContLang->segmentByWord( $string );
        }
 
        /**