mediawiki-extensions-Visual.../modules/ve/init
Catrope 6f0c739d42 Refetch the token when we get a badtoken error
Intercept badtoken errors, refetch the edit token from the
action=tokens API, and retry the request again. If this fails too,
show the error to the user.

Right now this just shows the good old confirm() dialog if the token
refetch fails; we should probaby give the user a clearer error message
telling them to refresh the page or something.

Bug: 42984
Change-Id: Ib43d1938ffa24bc8d1dc76a300e16e486dabd928
2013-05-17 19:15:21 -07:00
..
mw Refetch the token when we get a badtoken error 2013-05-17 19:15:21 -07:00
sa ve.Editor 2013-05-15 10:39:12 -07:00
ve.init.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.init.Platform.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.init.Target.js ve.Editor 2013-05-15 10:39:12 -07:00