Merge "Fix oldimage deletion error message"

This commit is contained in:
jenkins-bot 2021-11-02 22:44:45 +00:00 committed by Gerrit Code Review
commit 5761d95b1f

View file

@ -134,9 +134,6 @@ class FileDeleteAction extends DeleteAction {
);
if ( !$status->isGood() ) {
$outputPage->addHTML(
'<h2>' . $this->prepareMessage( 'filedeleteerror-short' ) . "</h2>\n"
);
$outputPage->wrapWikiTextAsInterface(
'error',
$status->getWikiText( 'filedeleteerror-short', 'filedeleteerror-long' )