mediawiki-extensions-Visual.../modules/ve-mw/init
Roan Kattouw 6322be2e07 Handle API errors when refetching the edit token
This can happen when the user gets logged out on a private wiki.
We get a badtoken error, so we try to refetch the token, which
itself returns an error. Token refetches didn't have error handling
at all and got the save dialog stuck in the pending state.

We can't offer the user to proceed with a different identity here,
because we encountered an error while trying to figure out what their
current identity is. The best we can do is encourage them to
log back in in a different tab.

Bug: T128934
Change-Id: I17d4452f688ec22631dbd12af223731635004d66
2016-03-04 18:06:33 -08:00
..
styles Make surface measurable while activating 2016-02-23 17:05:09 +00:00
targets Fix WTE->VE switching in prefer-wt SET mode 2016-02-29 23:46:11 +00:00
ve.init.mw.ApiResponseCache.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.init.mw.ArticleTarget.js Handle API errors when refetching the edit token 2016-03-04 18:06:33 -08:00
ve.init.mw.ArticleTargetEvents.js Follow-up 2c24efae: fix typo in event name for unknown save errors 2016-03-04 17:31:40 -08:00
ve.init.mw.ArticleTargetLoader.js Change Accept header a bit 2016-03-02 15:37:37 +00:00
ve.init.mw.ImageInfoCache.js MWMediaDialog: Only cache relevant information 2016-02-29 10:16:34 -06:00
ve.init.mw.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.init.mw.LinkCache.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.init.mw.Platform.init.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.init.mw.Platform.js Make platform language functions actually work 2016-02-22 00:05:05 +00:00
ve.init.mw.Target.js Remove all Extension:Cite code, now moved there 2016-02-05 21:36:56 +00:00
ve.init.mw.trackSubscriber.js ve.init.mw.trackSubscriber: Sample at 6.25% 2016-02-08 13:22:33 -08:00
ve.init.MWEditingTabDialog.js MWEditingTabDialog: Use 'small' size 2016-01-26 14:51:55 -08:00
ve.init.MWVESwitchConfirmDialog.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00