From: Brion Vibber Date: Fri, 9 Apr 2004 01:37:41 +0000 (+0000) Subject: XHTML fixes. X-Git-Tag: 1.3.0beta1~542 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=fe5ff59ad6b4c8b7b5350e3335875d297f820773;p=lhc%2Fweb%2Fwiklou.git XHTML fixes. --- diff --git a/includes/Article.php b/includes/Article.php index 8305d3ae0b..7ba998fc1a 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -791,7 +791,7 @@ class Article { if( ($old=wfFetchObject($res)) && !$confirm ) { $skin=$wgUser->getSkin(); $wgOut->addHTML("".wfMsg("historywarning")); - $wgOut->addHTML( $skin->historyLink() ."

"); + $wgOut->addHTML( $skin->historyLink() .""); } $sql="SELECT cur_text FROM cur WHERE cur_namespace=$ns and cur_title='$etitle'"; @@ -915,7 +915,7 @@ class Article { $text = wfMsg( "deletedtext", $deleted, $loglink ); - $wgOut->addHTML( "

" . $text ); + $wgOut->addHTML( "

" . $text . "

\n" ); $wgOut->returnToMain( false ); } else { $wgOut->fatalError( wfMsg( "cannotdelete" ) ); diff --git a/includes/DifferenceEngine.php b/includes/DifferenceEngine.php index 4664515132..28e95f11d3 100644 --- a/includes/DifferenceEngine.php +++ b/includes/DifferenceEngine.php @@ -1114,7 +1114,7 @@ class TableDiffFormatter extends DiffFormatter } function emptyLine() { - return " "; + return " "; } function contextLine( $line ) { diff --git a/includes/ImagePage.php b/includes/ImagePage.php index 4ba864d7ef..437346279c 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -100,10 +100,10 @@ class ImagePage extends Article { $res = wfQuery( $sql, DB_READ, "Article::imageLinks" ); if ( 0 == wfNumRows( $res ) ) { - $wgOut->addHtml( "

" . wfMsg( "nolinkstoimage" ) . "\n" ); + $wgOut->addHtml( "

" . wfMsg( "nolinkstoimage" ) . "

\n" ); return; } - $wgOut->addHTML( "

" . wfMsg( "linkstoimage" ) . "\n