If two users edit the same wiki topic, what methods have been used in wikis (or in similar collaborative editing software) to merge the second user’s edits with the first?
I’d like a solution that:
- doesn’t require locking
- doesn’t lose any additions to the page.
- It may add extra "boilerplate" text to indicate where differing changes were made.
(I’m interested in a solution that could be used to implement this uservoice idea for stack overflow.)
TWiki automatically merges Simultaneous Edits.
There was also some documentation from that feature being developed detailing how it would behave.
It’s worth noting that TWiki has a similar feature to Stack Overflow for collapsing subsequent revisions by the same user within a certain time limit and this caused a bug when happening in conjunction with a merge.
Also worth noting is that TWiki will warn the second user that the topic is being edited:
note that the lease terminology is only for developers, not end users.