Index: trunk/phase3/includes/Article.php |
— | — | @@ -1499,7 +1499,7 @@ |
1500 | 1500 | public function tryDirtyCache() { |
1501 | 1501 | global $wgOut; |
1502 | 1502 | $parserCache = ParserCache::singleton(); |
1503 | | - $options = clone $this->getParserOptions(); |
| 1503 | + $options = $this->getParserOptions(); |
1504 | 1504 | |
1505 | 1505 | if ( $wgOut->isPrintable() ) { |
1506 | 1506 | $options->setIsPrintable( true ); |
— | — | @@ -3597,7 +3597,7 @@ |
3598 | 3598 | $edit->revid = $revid; |
3599 | 3599 | $edit->newText = $text; |
3600 | 3600 | $edit->pst = $this->preSaveTransform( $text ); |
3601 | | - $edit->popts = clone $this->getParserOptions(); |
| 3601 | + $edit->popts = $this->getParserOptions(); |
3602 | 3602 | $edit->output = $wgParser->parse( $edit->pst, $this->mTitle, $edit->popts, true, true, $revid ); |
3603 | 3603 | $edit->oldText = $this->getContent(); |
3604 | 3604 | |
— | — | @@ -4405,7 +4405,7 @@ |
4406 | 4406 | global $wgParser, $wgEnableParserCache, $wgUseFileCache; |
4407 | 4407 | |
4408 | 4408 | if ( !$parserOptions ) { |
4409 | | - $parserOptions = clone $this->getParserOptions(); |
| 4409 | + $parserOptions = $this->getParserOptions(); |
4410 | 4410 | } |
4411 | 4411 | |
4412 | 4412 | $time = - wfTime(); |