Topic on Project:Support desk

Rollback not working as expected

6
2A00:23C8:2D11:9001:6D02:830A:56AF:7271 (talkcontribs)

Rollback failed - Missing required parameters on request.

my wiki rollback isn't working, I have done some forum scraping but I can't really find anyone with the same issue as me. i'm honestly so confused

MediaWiki 1.41.1

PHP 8.3.6

Lua 5.1.5

Ubuntu 24.04.1 LTS

Ammarpad (talkcontribs)

Please supply the required parameters (per the error message) and see if it still does not work.

2A00:23C8:2D11:9001:6D02:830A:56AF:7271 (talkcontribs)

It just returns an error, and I'm pressing the rollback button when it tells me I don't have all of the parameters, so I assumed it would have just worked

{

    "error": {
        "code": "mustpostparams",
        "info": "The following parameter was found in the query string, but must be in the POST body: token.",
        "*": "See https://dovedale.wiki/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes."
    }
}
Leaderboard (talkcontribs)

Where are you getting this message? Is this part of a script?

Bawolff (talkcontribs)

There are scenarios where mw core can generate that error when clicking the built-in rollback button, but it would be super unusual. Like misconfigured reverse proxy.

Bawolff (talkcontribs)

Do you have any custom JS or gadgets enabled?

If you create a fresh new account, does rollback work from that account?

If all else fails, it might be helpful if you can generate a HAR file of doing a rollback and share it, which will let us see what is really going on. ( https://support.zendesk.com/hc/en-us/articles/4408828867098-Generating-a-HAR-file-for-troubleshooting ) [Note however, HAR files often contain session cookies, which can be used to compromise your account, so you want to log out immediately after generating the file to ensure that the info can't be used nefariously, and maybe not post the HAR file publicly]

Reply to "Rollback not working as expected"