https://bugzilla.wikimedia.org/show_bug.cgi?id=32037

--- Comment #7 from Michael M. <[email protected]> ---
(In reply to comment #6)
> So in short this is bug 34580 aka bug 22783?

No. In my use case I want an edit conflict, even if I'm only prepending text
(as it could be the same text that was added by the other user causing the
potential edit conflict).

IMHO in an ideal world edit conflict detection would work this way:

# The user didn't send the baseRevision parameter
  -> Just edit the page according to the other data the user sent,
     ignore any possible conflict.
# The user sent baseRevision === 0
  -> If the page is still missing, create it.
  -> If the page exists, but all edits are from the current user,
     edit the page without edit conflict.
  -> Otherwise try to resolve the edit conflict with diff3
     (base: empty article), report conflict if that fails.
# The user sent baseRevision !== 0
  -> If the page exists and the current revision is the user's
     baseRevision, edit the article.
  -> If the page exists in a different revision, but all edits
     between the baseRevision and the current revision are made
     by the current user, edit without conflict.
  -> If the page exists in a different revision and edits by other
     users, try to resolve the conflict with diff3 (base determined
     by content of baseRevision), report conflict if that fails.
  -> If the page doesn't exist, tell the user it was deleted while he
     was editing.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to