X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Factions%2FRollbackAction.php;h=c962e20d2212d61420299858d6d2957c4b4b5eb8;hb=cb30399b4d03bc78e0abec0baad4b4fca7de198c;hp=7b4126278c5ef76884b9da1ea9f8f0b8f01b0605;hpb=8e744f6f482b80a806d43fb4ea2eded4c7fd517f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/actions/RollbackAction.php b/includes/actions/RollbackAction.php index 7b4126278c..c962e20d22 100644 --- a/includes/actions/RollbackAction.php +++ b/includes/actions/RollbackAction.php @@ -101,8 +101,12 @@ class RollbackAction extends FormlessAction { $current = $data['current']; if ( $current->getComment() != '' ) { - $this->getOutput()->addHTML( $this->msg( 'editcomment' )->rawParams( - Linker::formatComment( $current->getComment() ) )->parse() ); + $this->getOutput()->addWikiMsg( + 'editcomment', + Message::rawParam( + Linker::formatComment( $current->getComment() ) + ) + ); } }