From: Robin Pepermans Date: Sat, 18 Jun 2011 15:08:05 +0000 (+0000) Subject: Fix double setTargetLanguage of r90337 X-Git-Tag: 1.31.0-rc.0~29443 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=5eccd533aaa23f3761c413a8e8bc02db0d057c30;p=lhc%2Fweb%2Fwiklou.git Fix double setTargetLanguage of r90337 --- diff --git a/includes/EditPage.php b/includes/EditPage.php index 7dc1c0a7a8..60e4f9c0c4 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -2070,7 +2070,6 @@ HTML if ( $this->mTitle->getNamespace() == NS_MEDIAWIKI ) { $parserOptions->setTargetLanguage( $this->mTitle->getPageLanguage() ); } - $parserOptions->setTargetLanguage( $this->mTitle->getPageLanguage() ); $parserOptions->setTidy( true ); $parserOptions->enableLimitReport(); $parserOutput = $wgParser->parse( $this->mArticle->preSaveTransform( $toparse ),