mediawiki-extensions-Visual.../modules/ve-mw
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
..
ce Improve rendering of audio files (for real this time) 2020-02-14 04:18:28 +01:00
dm Merge "ve.dm.MWGalleryNode: Preserve 'class' attribute unchanged" 2020-02-15 16:59:56 +00:00
init Purge autosave before submitting merged content 2020-02-20 09:43:26 +01:00
preinit ve.init.mw.DesktopArticleTarget.init: Update for Minerva changes yet again 2020-02-15 16:40:57 +01:00
tests ve.dm.MWGalleryNode: Preserve 'class' attribute unchanged 2020-02-14 22:05:50 +01:00
themes doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ui Merge "Use mw.Api#getErrorMessage instead of custom handling" 2020-01-10 14:22:14 +00:00
ve.MWutils.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00