From 5eccd533aaa23f3761c413a8e8bc02db0d057c30 Mon Sep 17 00:00:00 2001 From: Robin Pepermans Date: Sat, 18 Jun 2011 15:08:05 +0000 Subject: [PATCH] Fix double setTargetLanguage of r90337 --- includes/EditPage.php | 1 - 1 file changed, 1 deletion(-) 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 ), -- 2.20.1