dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BetterDirectionality fixes:
[lhc/web/wiklou.git]
/
includes
/
ImagePage.php
diff --git
a/includes/ImagePage.php
b/includes/ImagePage.php
index
6f7ad74
..
956977e
100644
(file)
--- a/
includes/ImagePage.php
+++ b/
includes/ImagePage.php
@@
-883,7
+883,7
@@
class ImageHistoryList {
* @return string
*/
public function imageHistoryLine( $iscur, $file ) {
* @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();
$timestamp = wfTimestamp( TS_MW, $file->getTimestamp() );
$img = $iscur ? $file->getName() : $file->getArchiveName();
@@
-1014,15
+1014,14
@@
class ImageHistoryList {
$row .= htmlspecialchars( $usertext );
}
}
$row .= htmlspecialchars( $usertext );
}
}
- $row .= '</td>
<td>
';
+ $row .= '</td>';
// Don't show deleted descriptions
if ( $file->isDeleted( File::DELETED_COMMENT ) ) {
// Don't show deleted descriptions
if ( $file->isDeleted( File::DELETED_COMMENT ) ) {
- $row .= '<
span class="history-deleted">' . wfMsgHtml( 'rev-deleted-comment' ) . '</span
>';
+ $row .= '<
td><span class="history-deleted">' . wfMsgHtml( 'rev-deleted-comment' ) . '</span></td
>';
} else {
} else {
- $row .=
Linker::commentBlock( $description, $this->title )
;
+ $row .=
'<td dir="' . $wgContLang->getDir() . '">' . Linker::commentBlock( $description, $this->title ) . '</td>'
;
}
}
- $row .= '</td>';
$rowClass = null;
wfRunHooks( 'ImagePageFileHistoryLine', array( $this, $file, &$row, &$rowClass ) );
$rowClass = null;
wfRunHooks( 'ImagePageFileHistoryLine', array( $this, $file, &$row, &$rowClass ) );