It's deprecated since 2018 to call action=query&prop=revisions without setting rvslots.
@Ladsgroup reports that this is flooding the Wikipedia logs.
| Ragesoss | |
| Apr 14 2025, 9:46 PM |
| F59280718: grafik.png | |
| Apr 17 2025, 12:43 PM |
| F59280712: grafik.png | |
| Apr 17 2025, 12:43 PM |
It's deprecated since 2018 to call action=query&prop=revisions without setting rvslots.
@Ladsgroup reports that this is flooding the Wikipedia logs.
I've implemented a fix here: https://github.com/wikimedia/wikiwho_api/pull/20/files
I think this accounts for all the deprecated calls that come out of the production server. Pending review by @MusikAnimal and/or @TheresNoTime, I can merge and deploy it, then we can confirm whether the log flooding problem is solved.
@MusikAnimal thanks! I just pulled in the change and restarted all the services, so it should be live now.
@Ladsgroup please let me know if that fixed it. I updated the user agent, so if everything is working correctly, you shouldn't see any more requests from "Wikiwho API testing". New requests should be from "Wikiwho API", and should not be generating warning logs.
Hi,
It's gone to basically zero:
But I do still see some every couple of minutes:
It clearly is not flooding the logs (thank you! That's what I care about) but it's not fully fixed
@Ladsgroup thanks! Do you have any more details about the ones still happening, like an example request?
Since the API request is POSTed, the arguments are in the body and we don't log that so I can't tell you exactly what query was made. I can only say it's to enwiki at 2025-04-23T11:43:18+00:00 for example.