Ignore EXIF data in FormatMetadata::fetchExtendedMetadata()
authorGergő Tisza <tgr.huwiki@gmail.com>
Wed, 14 Jan 2015 03:04:02 +0000 (03:04 +0000)
committerGergő Tisza <tgr.huwiki@gmail.com>
Wed, 14 Jan 2015 03:04:02 +0000 (03:04 +0000)
commit25e226b65292fd09c6c36e35174ea2dfef636958
tree8575c07f3cb497058f517f72e8f3932e8f227138
parent57f5e6bf200bc1bf7df108cbfc2bb1846aea4242
Ignore EXIF data in FormatMetadata::fetchExtendedMetadata()

fetchExtendedMetadata() gets extra data such as file templates
via the GetExtendedMetadata hook; keys which are absent in the
extended data default to their EXIF value.

This turned out to be a bad idea as EXIF data is too messy in
practice with various devices putting e.g. manufacturer name for
author name; completely ignoring EXIF data in the extmetadata API
is still the better option.

Bug: T73719
Change-Id: I77b1df67d08097504b3b1026c584063488e03b6e
includes/media/FormatMetadata.php