dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bbe0bc
)
Fix double setTargetLanguage of r90337
author
Robin Pepermans
<robin@users.mediawiki.org>
Sat, 18 Jun 2011 15:08:05 +0000
(15:08 +0000)
committer
Robin Pepermans
<robin@users.mediawiki.org>
Sat, 18 Jun 2011 15:08:05 +0000
(15:08 +0000)
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
7dc1c0a
..
60e4f9c
100644
(file)
--- 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 ),