User case:
- open the same page on two tabs
- edit tab 1
- edit tab 2
- change something on tab 1, save
- change the same element with a different content on tab 2, save
With wikitext, you have an edit conflict warning, not with VE.
Feedback - Screencast
User case:
With wikitext, you have an edit conflict warning, not with VE.
Feedback - Screencast
I guess it's not obvious what's really going on here. VisualEditor doesn't detect edit conflicts itself - we just send off data to the MediaWiki edit API.
MediaWiki's edit conflict handling will suppress the edit conflict error if the second save to be made is full-page (not just a section edit) and the saving user is the last editor of that page - i.e., self-conflicts are suppressed for full-page edits.
All VE saves are full-page (currently, anyway), so you need to be comparing it to full page wikitext edits for any comparisons about edit conflict behaviour to make any sense.
Oh, and to make things slightly more confusing - the "saving user is the last editor of that page" check will never suppress full-page self-conflicts for anonymous users. It only works for logged in users.
And new sections never trigger edit conflicts.
There are probably more cases...