On Nov 18 2014 action API CSRF token management was refactored and all old ways of obtaining the tokens were deprecated. Deprecation warnings were emitted via API responses for more than 6 years now, it's time to drop the old code.
Affected:
- action=query&prop=info&intoken=...
- action=tokens&type=...
- action=query&list=recentchanges&rctoken
- action=query&prop=revisions&rvtoken=rollback
- action=query&meta=userinfo&uiprop=preferencestoken
- action=query&list=users&ustoken=userrights
Replacement: action=query&meta=tokens
Current usages: https://logstash.wikimedia.org/goto/33b48169bbdf389b308eac905d1aa5dd