r90342 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90341‎ | r90342 | r90343 >
Date:15:08, 18 June 2011
Author:robin
Status:ok (Comments)
Tags:
Comment:
Fix double setTargetLanguage of r90337
Modified paths:
  • /trunk/phase3/includes/EditPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/EditPage.php
@@ -2070,7 +2070,6 @@
20712071 if ( $this->mTitle->getNamespace() == NS_MEDIAWIKI ) {
20722072 $parserOptions->setTargetLanguage( $this->mTitle->getPageLanguage() );
20732073 }
2074 - $parserOptions->setTargetLanguage( $this->mTitle->getPageLanguage() );
20752074 $parserOptions->setTidy( true );
20762075 $parserOptions->enableLimitReport();
20772076 $parserOutput = $wgParser->parse( $this->mArticle->preSaveTransform( $toparse ),

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r90337Address comment by Platonides on r90320:...robin14:49, 18 June 2011

Comments

#Comment by Platonides (talk | contribs)   18:38, 19 June 2011

Shouldn't you have removed the above one? What if it is a CSS page?

Status & tagging log