Merge "RollbackAction/SpecialUndelete: Use OutputPage::addWikiMsg() where possible"
[lhc/web/wiklou.git] / includes / actions / RollbackAction.php
index 7b41262..c962e20 100644 (file)
@@ -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() )
+                                               )
+                                       );
                                }
                        }