r40849 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40848‎ | r40849 | r40850 >
Date:06:37, 15 September 2008
Author:tstarling
Status:old
Tags:
Comment:
Revert r40712, replace_variables is correct.
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 replaceVariables().
 2609+ * This is the ghost of replace_variables().
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 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r40712(bug 15555) misspelled replace_variables() function in doc of Parser::preproc...ialex19:31, 10 September 2008

Status & tagging log