VisualEditor: Wikitext diff is not regenerated if VE content is the same but the page has subsequently changed
Open, LowPublic


+++ This bug was initially created as a clone of Bug #55392 +++

VE caches the diff, which means if no content is changed, the user is shown
a) a stale diff and is allowed to proceed with saving the page, which means they are then
b) the page with their saved changes only
The user is unaware that they have overwritten another persons changes.

Steps to reproduce:

  1. Create a page with some two lines
  2. Open the page in two VE windows
  3. In the second window, alter the first line and save
  4. In the first window, alter the first line and review changes (the diff only shows the first line being modified against the page contents from step 3)
  5. In the second window, add some lines and save
  6. In the first window, review changes, and cancel the save (the diff is the same as in step 5; the VE page content doesnt change)
  7. In the first window, save

Expected results:
In step 7, the diff should be refreshed even though the page content has not been modified.

Actual results:
The diff from step 5 is displayed in step 7.

Version: unspecified
Severity: minor
See Also:


bzimport raised the priority of this task from to Low.
bzimport set Reference to bz55393.
jayvdb created this task.Oct 7 2013, 3:14 AM

This might be a Parsoid issue?

At bug 55392 comment 3 James says that in core mediawiki functionality "you can't edit conflict with yourself, and new edits silently over-write", which could mean this bug is also the correct behaviour. Need to retest with two different users.