Page MenuHomePhabricator

Fetching a token via "action=login" is deprecated. Use "action=query&meta=tokens&type=login" instead
Closed, InvalidPublic

Description

Found the following warning in a failed job log:

WARNING: API warning (login): Fetching a token via "action=login" is deprecated. Use "action=query&meta=tokens&type=login" instead.

I think it's coming from pywikibot.data.api.LoginManager.getCookie, in which case getCookie needs to be updated.