(bug 15555) misspelled replace_variables() function in doc of Parser::preprocessToDom...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 10 Sep 2008 19:31:01 +0000 (19:31 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 10 Sep 2008 19:31:01 +0000 (19:31 +0000)
includes/parser/Parser.php

index 2f4d702..02ad544 100644 (file)
@@ -2605,7 +2605,7 @@ class Parser
 
        /**
         * Preprocess some wikitext and return the document tree.
-        * This is the ghost of replace_variables().
+        * This is the ghost of replaceVariables().
         *
         * @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;
        }