About [[MediaWiki:Anontalkpagetext/en]]

From Support
Jump to navigation Jump to search

What is the meaning of 'invalid token' (badtoken)? Could you explain this?

Geopoet (talk)07:37, 5 July 2012

MediaWiki includes multiple security mechanism to authenticate that actions are really executed by the user. So users need to login to get a token that is transfered in cookies when user executes actions. Browser send this session token automatically, even if JavaScript on other website initiates the action. To prevent those sites from doing that, all write actions need another action token, which is first requested in other request. While other sites can initiate JavaScript requests to any site, they can't read the results, do they cannot access this action specific token and thus cannot execute write actions without the user knowing.

Now, this error message appears when an action is executed, where this token (a string basically) does not match what the server has stored for the user. This often happens if the session has timed out (keeping some page open for too long), clearing the previously stored value.

Nike (talk)16:22, 14 July 2012

The solution for this is to reload the page you are on and try again.

Nike (talk)16:23, 14 July 2012