List of steps to reproduce (step by step, including full links if applicable):
- Go to https://en.wikipedia.beta.wmflabs.org/w/api.php?action=query&format=json&prop=imageinfo&titles=File:Redsq.png&iiprop=comment
- See below
{"batchcomplete":"","query":{"pages":{"190270":{"pageid":190270,"ns":6,"title":"File:Redsq.png","imagerepository":"local","imageinfo":[{"commenthidden":""}]}}}}
What happens?:
The API returns a commenthidden property
What should have happened instead?:
It should not return this property because the comment is not hidden, it is empty.
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:
Noticed this due to it causing a FileImporter bug at T293768.