Page MenuHomeGitPull.it

Update to latest MediaWiki login token API
Closed, InvalidPublic3 Points

Description

[2020-04-06 19:33:32][WARN] login: Fetching a token via "action=login" is deprecated. Use "action=query&meta=tokens&type=login" instead.
stdClass Object
(
    [warnings] => stdClass Object
        (
            [main] => stdClass Object
                (
                    [*] => Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes. Use [[Special:ApiFeatureUsage]] to see usage of deprecated features by your application.
                )

            [login] => stdClass Object
                (
                    [*] => Fetching a token via "action=login" is deprecated. Use "action=query&meta=tokens&type=login" instead.
                )

        )

    [login] => stdClass Object
        (
            [result] => NeedToken
            [token] => b19a4ace5663a56dcfb7c80b1d5011a25e8b67ec+\
        )

)

Event Timeline

valerio.bozzolan closed this task as Invalid.Apr 11 2020, 17:19

The warning was misleading. The API currently in use are not deprecated, so there is nothing to be updated.

valerio.bozzolan triaged this task as Unbreak Now! priority.Apr 19 2020, 11:46
valerio.bozzolan set the point value for this task to 3.Tue, Oct 6, 16:46