diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2014-07-31 06:43:27 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2014-07-31 06:43:27 +0200 |
commit | 027fc6e70f7f9ce8422d4798fb02e67ff271ae4c (patch) | |
tree | 8163dff509e80309c82051a1095faab9396e280f /includes/filerepo/file | |
parent | f80b2307028ed4d9231a0bd46496b241dcf4aa5c (diff) |
Update to MediaWiki 1.22.9
Diffstat (limited to 'includes/filerepo/file')
-rw-r--r-- | includes/filerepo/file/LocalFile.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/filerepo/file/LocalFile.php b/includes/filerepo/file/LocalFile.php index fe769be2..d18f42e4 100644 --- a/includes/filerepo/file/LocalFile.php +++ b/includes/filerepo/file/LocalFile.php @@ -423,6 +423,8 @@ class LocalFile extends File { $decoded['timestamp'] = wfTimestamp( TS_MW, $decoded['timestamp'] ); + $decoded['metadata'] = $this->repo->getSlaveDB()->decodeBlob( $decoded['metadata'] ); + if ( empty( $decoded['major_mime'] ) ) { $decoded['mime'] = 'unknown/unknown'; } else { |