mediawiki-extensions-Visual.../modules/ve-mw/init
Adam Wight c0ad11b960 Purge autosave before submitting merged content
When using TwoColConflict with VisualEditor, the autosave buffer wouldn't
be cleared after saving the successful merge.  This would cause a user to
see a "restore changes?" prompt the next time they entered the editor,
with the potential to confuse them and cause them to do extra work,
repeating the conflict resolution unnecessarily.

This change purges the autosave buffer before submitting a merge.

Note that it is not transactional, so there is a chance we're losing the
autosaved content even if the submit will fail.

Bug: T245119
Change-Id: I150023f548c5565412769d644a828176f907bc25
2020-02-20 09:43:26 +01:00
..
apiresponsecache doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
styles Remove hack to avoid iOS Safari menu bar area tap stealing 2020-01-31 21:22:23 +00:00
targets Purge autosave before submitting merged content 2020-02-20 09:43:26 +01:00
ve.init.mw.ArticleTargetEvents.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.init.mw.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.init.mw.Platform.init.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.init.mw.Platform.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.init.mw.SaveErrorHandler.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.init.mw.trackSubscriber.js Fix EditAttemptStep events logged with revision_id=0 2020-02-11 19:37:22 +01:00
ve.init.mw.ViewportZoomHandler.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00