Hi,

On 6/2/21 9:02 AM, Petr Pchelko wrote:
TLDR: We will soon remove some parameters that were used to obtain CSRF tokens in the MediaWiki API. This will break bots, gadgets and user scripts that are still using these parameters.

Can we get a list of those bots/scripts that are still using the parameters that'll be removed?

A significant and long delayed change to Action API is coming. API clients (user scripts, tools, etc) need to obtain a token before making write requests to MediaWiki over Action API. Up to MediaWiki 1.24 the action=tokens[1] and ‘token’ parameter in the following API endpoints were used to obtain a token:
<snip>

Is there a reason action=query&meta=userinfo&uiprop=preferencestoken isn't also being removed at the same time?

Since MediaWiki 1.24 these module and parameters were deprecated and were emitting deprecation warnings to API clients. These parameters and endpoint will now be removed from MediaWiki 1.37 and from Wikimedia installation.

When exactly is this going to happen? Is there a Phabricator task to track this?

-- Legoktm
_______________________________________________
Mediawiki-api mailing list -- mediawiki-api@lists.wikimedia.org
To unsubscribe send an email to mediawiki-api-le...@lists.wikimedia.org

Reply via email to