From 701152e10f1685f3e7edee1bf907d94b0be97762 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 15 Mar 2012 17:50:55 +0000 Subject: [PATCH] * r113886: use
instead of span to wrap element that has p tags. * Also fixed an older instance of the same problem. --- includes/FileDeleteForm.php | 4 ++-- includes/specials/SpecialUndelete.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/FileDeleteForm.php b/includes/FileDeleteForm.php index 089acd03f3..a1b4900279 100644 --- a/includes/FileDeleteForm.php +++ b/includes/FileDeleteForm.php @@ -89,9 +89,9 @@ class FileDeleteForm { if( !$status->isGood() ) { $wgOut->addHTML( '

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

\n" ); - $wgOut->addHTML( '' ); + $wgOut->addHTML( '
' ); $wgOut->addWikiText( $status->getWikiText( 'filedeleteerror-short', 'filedeleteerror-long' ) ); - $wgOut->addHTML( '' ); + $wgOut->addHTML( '
' ); } if( $status->ok ) { $wgOut->setPageTitle( wfMessage( 'actioncomplete' ) ); diff --git a/includes/specials/SpecialUndelete.php b/includes/specials/SpecialUndelete.php index 34be6b0369..af2fb1d61a 100644 --- a/includes/specials/SpecialUndelete.php +++ b/includes/specials/SpecialUndelete.php @@ -1399,9 +1399,9 @@ class SpecialUndelete extends SpecialPage { // Show file deletion warnings and errors $status = $archive->getFileStatus(); if( $status && !$status->isGood() ) { - $out->addHTML( '' ); + $out->addHTML( '
' ); $out->addWikiText( $status->getWikiText( 'undelete-error-short', 'undelete-error-long' ) ); - $out->addHTML( '' ); + $out->addHTML( '
' ); } } } -- 2.20.1