https://bugzilla.wikimedia.org/show_bug.cgi?id=72652
Bug ID: 72652
Summary: commonmetadata and extmetadata in imageinfo cannot
handle deep arrays returned by File::getMetadata()
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: API
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected]
Blocks: 71135
Web browser: ---
Mobile Platform: ---
The imageinfo/metadata API uses FormatMetadata::flattenArrayReal to handle
metadata values which contain an array. commonmetadata and extmetadata don't
use this and end up generating weird output.
Example:
http://commons.wikimedia.org/w/api.php?action=query&prop=imageinfo&format=jsonfm&iiprop=metadata|commonmetadata|extmetadata&iilimit=10&titles=File%3ABlack_Hawk_Down_Super64_over_Mogadishu_coast.jpg
--
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