* Victor Vasiliev
== Patch Contributors ==
+* Agbad
* Daniel Arnold
* Danny B.
* Jeremy Baron
* BMP images are now displayed as PNG
* (bug 13471) Added NUMBERINGROUP magic word
* (bug 11884) Now support Flash EXIF attribute
+* Show thumbnails in the file history list
=== Bug fixes in 1.14 ===
. '<tr><td></td>'
. ( $this->current->isLocal() && ($wgUser->isAllowed('delete') || $wgUser->isAllowed('deleterevision') ) ? '<td></td>' : '' )
. '<th>' . wfMsgHtml( 'filehist-datetime' ) . '</th>'
+ . '<th>' . wfMsgHtml( 'filehist-thumb' ) . '</th>'
. '<th>' . wfMsgHtml( 'filehist-dimensions' ) . '</th>'
. '<th>' . wfMsgHtml( 'filehist-user' ) . '</th>'
. '<th>' . wfMsgHtml( 'filehist-comment' ) . '</th>'
$row .= Xml::element( 'a', array( 'href' => $url ), $wgLang->timeAndDate( $timestamp, true ) );
}
+ // Thumbnail
+ if( $file->allowInlineDisplay() && $file->userCan( File::DELETED_FILE ) && !$file->isDeleted( File::DELETED_FILE ) ) {
+ $params = array(
+ 'width' => '120',
+ 'height' => '120',
+ );
+ $thumbnail = $file->transform( $params );
+ $options = array(
+ 'alt' => wfMsg( 'filehist-thumbtext', $wgLang->timeAndDate( $timestamp, true ) ),
+ 'file-link' => true,
+ );
+ $row .= '</td><td>' . $thumbnail->toHtml( $options );
+ } else {
+ $row .= '</td><td>' . wfMsg( 'filehist-nothumb' );
+ }
$row .= "</td><td>";
// Image dimensions
'filehist-revert' => 'revert',
'filehist-current' => 'current',
'filehist-datetime' => 'Date/Time',
+'filehist-thumb' => 'Thumbnail',
+'filehist-thumbtext' => 'Thumbnail for version as of $1',
+'filehist-nothumb' => 'No thumbnail',
'filehist-user' => 'User',
'filehist-dimensions' => 'Dimensions',
'filehist-filesize' => 'File size',
'filehist-revert' => 'שחזור',
'filehist-current' => 'נוכחית',
'filehist-datetime' => 'תאריך/שעה',
+'filehist-thumb' => 'תמונה ממוזערת',
+'filehist-thumbtext' => 'תמונה ממוזערת לגרסה מתאריך $1',
+'filehist-nothumb' => 'אין תמונה ממוזערת',
'filehist-user' => 'משתמש',
'filehist-dimensions' => 'ממדים',
'filehist-filesize' => 'גודל הקובץ',
'filehist-revert',
'filehist-current',
'filehist-datetime',
+ 'filehist-thumb',
+ 'filehist-thumbtext',
+ 'filehist-nothumb',
'filehist-user',
'filehist-dimensions',
'filehist-filesize',