Page MenuHomePhabricator

action=query returning invalid JSON
Closed, DuplicatePublic


When I use wget (version 1.15) to get the content of "Projet:Jeu vidéo/Articles récents" on frwiki with the following API query:

wget -O response.json '|timestamp&titles=Projet%3AJeu%20vid%C3%A9o%2FArticles%20r%C3%A9cents&continue=&maxlag=5'

the last byte of the response is a single quotation mark ' instead of a closing brace }.
The 20 last bytes of response.json are:

I get this only with my bot (that uses libcurl) and wget, not Firefox. This started happening today (April 19) between 11:02 UTC and 11:07 UTC.