From: Aaron Schulz Date: Thu, 15 Mar 2012 01:42:34 +0000 (+0000) Subject: Add error css to errors like the other file operation pages and actions X-Git-Tag: 1.31.0-rc.0~24247 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=428934f41e6177326f5d14088f1c7770654bb3ca;p=lhc%2Fweb%2Fwiklou.git Add error css to errors like the other file operation pages and actions --- 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( '' ); } } }