For files without metadata the api shows:
<imageinfo> <ii metadata="" /> </imageinfo>
It is possible to change this to
<imageinfo> <ii> <metadata /> </ii> </imageinfo>
Or an other style? The current is wrong and bad to detect.
Thanks.
Version: 1.20.x
Severity: normal
URL: http://commons.wikimedia.org/w/api.php?action=query&prop=imageinfo&titles=File%3AThe%20Sundeck%20On%20L'art%20de%20Vivre%20Hotel%20Barge.jpg%7CFile%3APoweredby%20mediawiki%2088x31.png&iiprop=metadata