https://bugzilla.wikimedia.org/show_bug.cgi?id=33226
Web browser: --- Bug #: 33226 Summary: prop=imageinfo: give empty tag for files without metadata Product: MediaWiki Version: 1.19-svn Platform: All URL: http://commons.wikimedia.org/w/api.php?action=query&pr op=imageinfo&titles=File:The%20Sundeck%20On%20L%27art% 20de%20Vivre%20Hotel%20Barge.jpg|File:Poweredby%20medi awiki 88x31.png&iiprop=metadata OS/Version: All Status: NEW Severity: normal Priority: Unprioritized Component: API AssignedTo: wikibugs-l@lists.wikimedia.org ReportedBy: duplicate...@googlemail.com CC: bryan.tongm...@gmail.com, roan.katt...@gmail.com, s...@reedyboy.net, soxre...@gmail.com Classification: Unclassified 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. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- 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