Fix double parsing of "previewnote" message
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Thu, 23 Aug 2012 10:17:48 +0000 (12:17 +0200)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Thu, 23 Aug 2012 10:17:48 +0000 (12:17 +0200)
Change-Id: I2144f026d3b301edb521bf83e1b089de5f35ad64

includes/EditPage.php

index b958f17..528b4a6 100644 (file)
@@ -2621,7 +2621,7 @@ HTML
                } elseif ( $this->incompleteForm ) {
                        $note = wfMessage( 'edit_form_incomplete' )->text();
                } else {
-                       $note = wfMessage( 'previewnote' ) .
+                       $note = wfMessage( 'previewnote' )->plain() .
                                ' [[#' . self::EDITFORM_ID . '|' . $wgLang->getArrow() . ' ' . wfMessage( 'continue-editing' )->text() . ']]';
                }