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: wikibugs-l@lists.wikimedia.org Reporter: gti...@wikimedia.org CC: bawolff...@gmail.com, bjor...@wikimedia.org, bryan.tongm...@gmail.com, gdu...@wikimedia.org, roan.katt...@gmail.com, s...@reedyboy.net 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l