r80816 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80815‎ | r80816 | r80817 >
Date:15:56, 23 January 2011
Author:platonides
Status:ok
Tags:
Comment:
Remove a couple of calls to ParserOptions::resetUsage(), missed on its removal in r79018
Modified paths:
  • /trunk/phase3/includes/parser/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/Parser.php
@@ -4307,7 +4307,6 @@
43084308 */
43094309 public function startExternalParse( &$title, $options, $outputType, $clearState = true ) {
43104310 $this->setTitle( $title );
4311 - $options->resetUsage();
43124311 $this->mOptions = $options;
43134312 $this->setOutputType( $outputType );
43144313 if ( $clearState ) {
@@ -5210,7 +5209,6 @@
52115210 $title = Title::newFromText( $title );
52125211 }
52135212 $this->mTitle = $title;
5214 - $options->resetUsage();
52155213 $this->setOutputType( $outputType );
52165214 $text = $this->replaceVariables( $text );
52175215 $text = $this->mStripState->unstripBoth( $text );

Follow-up revisions

RevisionCommit summaryAuthorDate
r808971.17: MFT r80697, r80755, r80767, r80771, r80773, r80774, r80779, r80816, r80...catrope18:57, 24 January 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r79018Store the options used by the parsing in ParserOutput, per r70783 CR.platonides19:21, 26 December 2010

Status & tagging log