From: Alexandre Emsenhuber Date: Thu, 23 Aug 2012 10:17:48 +0000 (+0200) Subject: Fix double parsing of "previewnote" message X-Git-Tag: 1.31.0-rc.0~22623 X-Git-Url: http://git.cyclocoop.org/%24dirpuce/puce%24spip_lang_rtl.gif?a=commitdiff_plain;h=e3fb463eec40458303ba18139da312152103b8d7;p=lhc%2Fweb%2Fwiklou.git Fix double parsing of "previewnote" message Change-Id: I2144f026d3b301edb521bf83e1b089de5f35ad64 --- diff --git a/includes/EditPage.php b/includes/EditPage.php index b958f1766e..528b4a67b1 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -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() . ']]'; }