r40712 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40711‎ | r40712 | r40713 >
Date:19:31, 10 September 2008
Author:ialex
Status:old
Tags:
Comment:
(bug 15555) misspelled replace_variables() function in doc of Parser::preprocessToDom(), changed to replaceVariables()
Modified paths:
  • /trunk/phase3/includes/parser/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/Parser.php
@@ -2605,7 +2605,7 @@
26062606
26072607 /**
26082608 * Preprocess some wikitext and return the document tree.
2609 - * This is the ghost of replace_variables().
 2609+ * This is the ghost of replaceVariables().
26102610 *
26112611 * @param string $text The text to parse
26122612 * @param integer flags Bitwise combination of:
@@ -2625,7 +2625,7 @@
26262626 *
26272627 * @private
26282628 */
2629 - function preprocessToDom ( $text, $flags = 0 ) {
 2629+ function preprocessToDom( $text, $flags = 0 ) {
26302630 $dom = $this->getPreprocessor()->preprocessToObj( $text, $flags );
26312631 return $dom;
26322632 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r40849Revert r40712, replace_variables is correct.tstarling06:37, 15 September 2008