X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FFileDeleteForm.php;h=3e0595ebe4fb5dae884dc6872fac15d0e413f66b;hb=bb3b50bb1bb5844269227de0ff82f00182bd4501;hp=c362ec05280c89e56a79734d2fb60fe5ebaf5f21;hpb=9c0eeb1a2d985f77134385975bf611ddc2bb8c7b;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/FileDeleteForm.php b/includes/FileDeleteForm.php index c362ec0528..3e0595ebe4 100644 --- a/includes/FileDeleteForm.php +++ b/includes/FileDeleteForm.php @@ -120,9 +120,10 @@ class FileDeleteForm { if ( !$status->isGood() ) { $wgOut->addHTML( '

' . $this->prepareMessage( 'filedeleteerror-short' ) . "

\n" ); - $wgOut->addWikiText( '
' . + $wgOut->wrapWikiTextAsInterface( + 'error', $status->getWikiText( 'filedeleteerror-short', 'filedeleteerror-long' ) - . '
' ); + ); } if ( $status->isOK() ) { $wgOut->setPageTitle( wfMessage( 'actioncomplete' ) );