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:
d78040a
)
Follow up on r53041. Fix a __NOCC__ failure caused by myself and I'm stupid to report...
author
Philip Tzou
<philip@users.mediawiki.org>
Thu, 17 Sep 2009 04:16:17 +0000
(
04:16
+0000)
committer
Philip Tzou
<philip@users.mediawiki.org>
Thu, 17 Sep 2009 04:16:17 +0000
(
04:16
+0000)
languages/LanguageConverter.php
patch
|
blob
|
history
diff --git
a/languages/LanguageConverter.php
b/languages/LanguageConverter.php
index
be76107
..
77e83aa
100644
(file)
--- a/
languages/LanguageConverter.php
+++ b/
languages/LanguageConverter.php
@@
-532,6
+532,8
@@
class LanguageConverter {
if( $this->mDoContentConvert )
// Bug 19620: should convert a string immediately after a new rule added.
$text .= $this->autoConvert( $marked[0], $plang );
+ else
+ $text .= $marked[0];
if ( array_key_exists( 1, $marked ) ) {
$crule = new ConverterRule($marked[1], $this);
@@
-546,7
+548,6
@@
class LanguageConverter {
// Remove the last delimiter (wasn't real)
$text = substr( $text, 0, -strlen( $this->mMarkup['end'] ) );
-
return $text;
}