From d18b005a6d77ceb7beae9af0e200c70766a5e1f6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Wed, 17 Jan 2007 18:42:04 +0000 Subject: [PATCH] * plaintext --- includes/ImagePage.php | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/includes/ImagePage.php b/includes/ImagePage.php index 226bf26a2b..d948217b1c 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -80,7 +80,7 @@ class ImagePage extends Article { global $wgStylePath, $wgStyleVersion; $expand = htmlspecialchars( wfEscapeJsString( wfMsg( 'metadata-expand' ) ) ); $collapse = htmlspecialchars( wfEscapeJsString( wfMsg( 'metadata-collapse' ) ) ); - $wgOut->addHTML( "

" . wfMsgHtml( 'metadata' ) . "

\n" ); + $wgOut->addHTML( Xml::element( 'h2', array( 'id' => 'metadata' ), wfMsg( 'metadata' ) ). "\n" ); $wgOut->addWikiText( $this->makeMetadataTable( $exif ) ); $wgOut->addHTML( "\n" . @@ -396,7 +396,7 @@ END } # External editing link - $elink = $sk->makeKnownLinkObj( $this->mTitle, wfMsg( 'edit-externally' ), 'action=edit&externaledit=true&mode=file' ); + $elink = $sk->makeKnownLinkObj( $this->mTitle, wfMsgHtml( 'edit-externally' ), 'action=edit&externaledit=true&mode=file' ); $wgOut->addHtml( '
  • ' . $elink . '
    ' . wfMsgWikiHtml( 'edit-externally-help' ) . '
  • ' ); $wgOut->addHtml( '' ); @@ -452,7 +452,7 @@ END { global $wgUser, $wgOut; - $wgOut->addHTML( '\n" ); + $wgOut->addHTML( Xml::element( 'h2', array( 'id' => 'filelinks' ), wfMsg( 'imagelinks' ) ) . "\n" ); $dbr =& wfGetDB( DB_SLAVE ); $page = $dbr->tableName( 'page' ); @@ -702,8 +702,9 @@ class ImageHistoryList { } function beginImageHistoryList() { - $s = "\n

    " . wfMsg( 'imghistory' ) . "

    \n" . - "

    " . wfMsg( 'imghistlegend' ) . "

    \n".'