[16:05:40] <cgt> Also, it's a bit annoying that all the example API responses are in XML instead of JSON. Hopefully that will be changed once the XML API is deprecated.
We should just probably update them now json is the default format for the MW API
Novem Linguae 2026 update: a CirrusSearch for insource:/\<\?xml/, and subtracting out translation pages (e.g. */en) yields only these pages remaining that need to be converted to JSON:
- https://www.mediawiki.org/wiki/API:Deletedrevs - skipping since the API action is deprecated and emits warnings instead of useful data, so better to have that page be a historical snapshot
- https://www.mediawiki.org/wiki/API:Emailuser
- https://www.mediawiki.org/wiki/API:Options
- https://www.mediawiki.org/wiki/API:Pagetriagestats
- https://www.mediawiki.org/wiki/API:Raw_query_continue
- https://www.mediawiki.org/wiki/API:Rsd - this outputs in XML no matter what, so skipping conversion
- https://www.mediawiki.org/wiki/API:Tokens_(action) - this was removed in MediaWiki 1.37, so skipping conversion
- https://www.mediawiki.org/wiki/API:Watchlist_feed - this returns in XML even if you put ?format=json, so skipping conversion