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:
5234761
)
First segment then convert when preparing for indexing.
author
Zheng Zhu
<zhengzhu@users.mediawiki.org>
Sat, 4 Dec 2004 04:44:19 +0000
(
04:44
+0000)
committer
Zheng Zhu
<zhengzhu@users.mediawiki.org>
Sat, 4 Dec 2004 04:44:19 +0000
(
04:44
+0000)
languages/LanguageZh.php
patch
|
blob
|
history
diff --git
a/languages/LanguageZh.php
b/languages/LanguageZh.php
index
c27036b
..
e24af26
100644
(file)
--- a/
languages/LanguageZh.php
+++ b/
languages/LanguageZh.php
@@
-112,8
+112,8
@@
class LanguageZh extends LanguageZh_cn {
//better to use zh-cn for search, since conversion from
//Traditional to Simplified is less ambiguous than the
//other way around
- $string = $this->autoConvert($string, 'zh-cn');
$t = $this->mZhClient->segment($string);
+ $t = $this->autoConvert($t, 'zh-cn');
$t = LanguageUtf8::stripForSearch( $t );
wfProfileOut( $fname );
return $t;