From 0d00fa8c742b9451cebb0f8be02e839f13cf9a6d Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sun, 6 Feb 2011 13:38:29 +0000 Subject: [PATCH] Easier to just use addWikiMsg() --- includes/specials/SpecialUndelete.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialUndelete.php b/includes/specials/SpecialUndelete.php index bb0325f734..f582475534 100644 --- a/includes/specials/SpecialUndelete.php +++ b/includes/specials/SpecialUndelete.php @@ -1411,7 +1411,7 @@ class SpecialUndelete extends SpecialPage { $wgOut->addWikiMsgArray( 'undeletedpage', array( $link ), array( 'replaceafter' ) ); } else { $wgOut->showFatalError( wfMsg( "cannotundelete" ) ); - $wgOut->addHTML( '

' . wfMsgHtml( "undeleterevdel" ) . '

' ); + $wgOut->addWikiMsg( 'undeleterevdel' ); } // Show file deletion warnings and errors -- 2.20.1