Page MenuHomePhabricator

Image api returns empty result set
Open, Needs TriagePublic

Description

As reported on e.g. https://commons.wikimedia.org/wiki/Commons:Monuments_database/Indexed_images there is an api for the tracked images (action=images).

That api however always seems to return an empty set of images.

Event Timeline

Right now it, and the rest of heritage is returning a 500 error

Ok. seems as though it doesn't always returns an empty set. E.g. https://tools.wmflabs.org/heritage/api/api.php?action=images&imcountry=be-vlg&imid=44&format=json returns something valid.

Digging in to this a bit more I see that the table doesn't seem to contain very many countries

+-----------+
| country   |
+-----------+
| at        |
| be-vlg    |
| fr        |
| fr-object |
| ge        |
| gh        |
| it-bz     |
| nl-wd     |
| th        |
| tn        |
| us-ca     |
+-----------+