From: Tim Starling Date: Mon, 15 Sep 2008 06:37:57 +0000 (+0000) Subject: Revert r40712, replace_variables is correct. X-Git-Tag: 1.31.0-rc.0~45294 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=93a66a41aa1c2332e815b35dc9ed57a93eb6a730;p=lhc%2Fweb%2Fwiklou.git Revert r40712, replace_variables is correct. --- diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 92c0a4d31b..346be86bc2 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -2605,7 +2605,7 @@ class Parser /** * Preprocess some wikitext and return the document tree. - * This is the ghost of replaceVariables(). + * This is the ghost of replace_variables(). * * @param string $text The text to parse * @param integer flags Bitwise combination of: @@ -2625,7 +2625,7 @@ class Parser * * @private */ - function preprocessToDom( $text, $flags = 0 ) { + function preprocessToDom ( $text, $flags = 0 ) { $dom = $this->getPreprocessor()->preprocessToObj( $text, $flags ); return $dom; }