From: Aaron Schulz Date: Thu, 15 Mar 2012 17:50:55 +0000 (+0000) Subject: * r113886: use
instead of span to wrap element that has p tags. X-Git-Tag: 1.31.0-rc.0~24237 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=commitdiff_plain;h=701152e10f1685f3e7edee1bf907d94b0be97762;p=lhc%2Fweb%2Fwiklou.git * r113886: use
instead of span to wrap element that has p tags. * Also fixed an older instance of the same problem. --- 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( '
' ); } } }