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:
19004a2
)
use wgContLang to convert among different language variants
author
Zheng Zhu
<zhengzhu@users.mediawiki.org>
Wed, 22 Sep 2004 03:51:32 +0000
(
03:51
+0000)
committer
Zheng Zhu
<zhengzhu@users.mediawiki.org>
Wed, 22 Sep 2004 03:51:32 +0000
(
03:51
+0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
8fd3c51
..
6c58641
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-643,7
+643,7
@@
class Parser
* @access private
*/
function internalParse( $text, $linestart, $args = array(), $isMain=true ) {
- global $wgLang;
+ global $wg
Cont
Lang;
$fname = 'Parser::internalParse';
wfProfileIn( $fname );
@@
-651,7
+651,7
@@
class Parser
$text = $this->removeHTMLtags( $text );
$text = $this->replaceVariables( $text, $args );
- $text = $wgLang->convert($text);
+ $text = $wg
Cont
Lang->convert($text);
$text = preg_replace( '/(^|\n)-----*/', '\\1<hr />', $text );