From 428934f41e6177326f5d14088f1c7770654bb3ca Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 15 Mar 2012 01:42:34 +0000 Subject: [PATCH] Add error css to errors like the other file operation pages and actions --- includes/specials/SpecialUndelete.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/specials/SpecialUndelete.php b/includes/specials/SpecialUndelete.php index f1750b4d5e..b0df3c9d9b 100644 --- a/includes/specials/SpecialUndelete.php +++ b/includes/specials/SpecialUndelete.php @@ -1400,7 +1400,9 @@ class SpecialUndelete extends SpecialPage { // Show file deletion warnings and errors $status = $archive->getFileStatus(); if( $status && !$status->isGood() ) { + $out->addHTML( '' ); $out->addWikiText( $status->getWikiText( 'undelete-error-short', 'undelete-error-long' ) ); + $out->addHTML( '' ); } } } -- 2.20.1