X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2FImagePage.php;h=956977e07ffa97d2388c5f13ed2b5f478de19814;hb=8f3ccf52f6f045e6299c5b29ab21fcc157dbd4c8;hp=6f7ad74c739a2bf9caee19fa59e45575e4bd6446;hpb=d9dc4390c2d6004823427f331dfc346980848a4c;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/ImagePage.php b/includes/ImagePage.php index 6f7ad74c73..956977e07f 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -883,7 +883,7 @@ class ImageHistoryList { * @return string */ public function imageHistoryLine( $iscur, $file ) { - global $wgUser, $wgLang; + global $wgUser, $wgLang, $wgContLang; $timestamp = wfTimestamp( TS_MW, $file->getTimestamp() ); $img = $iscur ? $file->getName() : $file->getArchiveName(); @@ -1014,15 +1014,14 @@ class ImageHistoryList { $row .= htmlspecialchars( $usertext ); } } - $row .= ''; + $row .= ''; // Don't show deleted descriptions if ( $file->isDeleted( File::DELETED_COMMENT ) ) { - $row .= '' . wfMsgHtml( 'rev-deleted-comment' ) . ''; + $row .= '' . wfMsgHtml( 'rev-deleted-comment' ) . ''; } else { - $row .= Linker::commentBlock( $description, $this->title ); + $row .= '' . Linker::commentBlock( $description, $this->title ) . ''; } - $row .= ''; $rowClass = null; wfRunHooks( 'ImagePageFileHistoryLine', array( $this, $file, &$row, &$rowClass ) );