Last modified: 2014-11-18 18:07:13 UTC
After getting an "Invalid token (badtoken)" error when saving a translation (probably due to timeout), the interface cannot recover: pressing the save button again will just repeat the same error message.
You need to refresh the page.
Of course, but you shouldn't have to; the script could request a new token without any user interaction.
*** Bug 48775 has been marked as a duplicate of this bug. ***
This is a core issue. See https://gerrit.wikimedia.org/r/#/c/83217/
Wrong component. As shown by your own gerrit change, the problem is in JavaScript and not the API.
(why do I always forget to uncheck that "reset assignee" box?)
Any of our JavaScript gurus have any ideas on how to make progress on this?
Won't I759739 fix this? It makes mw.api reload the token and retry on a badtoken error.
Yes, I7597399ae72381a3b3253637ed4a6537c3fb1406 is meant to fix this.
(In reply to Matthew Flaschen from comment #9) > Yes, I7597399ae72381a3b3253637ed4a6537c3fb1406 is meant to fix this. That patch was abandoned in favor of https://gerrit.wikimedia.org/r/#/c/111636/ for bug 34733 which was merged on 2014-04-04. mflaschen: Can we close this report as RESOLVED FIXED?