Make DjVu metadata be stored as serialized PHP array.
authorBrian Wolff <bawolff+wn@gmail.com>
Thu, 5 Dec 2013 23:50:17 +0000 (19:50 -0400)
committerBryanDavis <bdavis@wikimedia.org>
Fri, 11 Apr 2014 21:50:08 +0000 (21:50 +0000)
commit1f995639ea6a57e63348e57c619d81f919f9ef7b
tree7111937ddb49f97cfa86a13dc807d3314e269459
parente88f4497bc55b1a889cfd313c3ab7edac6f0d136
Make DjVu metadata be stored as serialized PHP array.

Previously metadata was stored as a string of XML. Some of the
code in File expects the metadata to be an array serialized using
PHP's serialization format. In particular, this fixes the api
query=imageinfo module, and by extension instantCommons.

This supersedes Icaa16eeb

Bug: 37764
Change-Id: I5c1d2d2434f70b57137837bade797d4133c47b70
includes/media/DjVu.php