https://bugzilla.wikimedia.org/show_bug.cgi?id=70931
Bug ID: 70931
Summary: Thumbnails not shown in Special:ListFiles when using
Postgres
Product: MediaWiki
Version: 1.22.5
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Unprioritized
Component: General/Unknown
Assignee: [email protected]
Reporter: [email protected]
Web browser: ---
Mobile Platform: ---
In Special:ListFiles the column Thumbnail is not showing the thumbnail, instead
the name is shown. This is because the timestamp used as option for the method
findFile uses a different format, than the method expects:
We fixed this behaviour by replacing line 409 in SpecialListfiles.php:
$opt = array( 'time' => $this->mCurrentRow->img_timestamp );
with:
$opt = array( 'time' => wfTimestamp( TS_MW, strtotime(
$this->mCurrentRow->img_timestamp ) ) );
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l