User Details
- User Since
- Dec 3 2019, 11:50 AM (357 w, 5 d)
- Availability
- Available
- LDAP User
- Unknown
- MediaWiki User
- Mathemancer2 [ Global Accounts ]
Jan 2 2020
@Anomie I respectfully disagree with the classification of this issue as a duplicate. My reasoning is that the issue T201205 is regarding an imageinfo request for a single file. The problem there (as I understand it) is that the apparatus cannot make a thumbnail (or at least this fails some validation) when an image is 0px by 0px. That results in none of the info parameters being retrieved for the image in that case.
To determine the extent of the problem, I ran a test, where I tried to use a generator to grab image info for all images uploaded to commons.wikimedia.org on each day of November 2019. Unfortunately, more than half of the days failed irrecoverably due to this bug. I.e., a request of the following form will fail for a little over half of the dates in November tested:
https://commons.wikimedia.org/w/api.php?action=query&generator=allimages&prop=imageinfo&gailimit=40&gaisort=timestamp&gaistart=2019-11-02T00:00:00Z&gaiend=2019-11-03T00:00:00Z&iiprop=url|user|dimensions|extmetadata&iiurlwidth=300&format=json&gaicontinue=20191102113020|Eduard_Karel_(1861-1950).jpg
This example is for the date 2019-11-02. I've attached a file with a list of dates for which the generator functionality is broken by this bug in November 2019, along with the request that fails irrecoverably for each date (by irrecoverably, I mean that the error does not contain any information that allows a program to skip over the broken file and continue).
Dec 20 2019
Dec 3 2019
Hello, I'm the one who started the thread on IRC. To clarify, I'm aware that a get request to https://www.mediawiki.org/w/api.php?action=query&list=allimages&aiprop=user%7Ctimestamp%7Curl&aisort=timestamp&aidir=older returns more-or-less the same info as is available at the page https://www.mediawiki.org/wiki/Special:NewFiles . What I'd like is the ability to make an API request that returns the same info as is available at https://commons.wikimedia.org/wiki/Special:NewFiles . The second page has many more pictures available. Note that the first page has only a couple of pictures from September, then before that nothing all the way back to mid March.
