Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -1420,6 +1420,9 @@ |
1421 | 1421 | |
1422 | 1422 | $previewHTML = $parserOutput->getText(); |
1423 | 1423 | $wgOut->addParserOutputNoText( $parserOutput ); |
| 1424 | + |
| 1425 | + # ParserOutput might have altered the page title, so reset it |
| 1426 | + $wgOut->setPageTitle( wfMsg( 'editing', $this->mTitle->getPrefixedText() ) ); |
1424 | 1427 | |
1425 | 1428 | foreach ( $parserOutput->getTemplates() as $ns => $template) |
1426 | 1429 | foreach ( array_keys( $template ) as $dbk) |