by codingdave · 9y ago · 0 comments
Ultimately, while there were algorithmic answers to just about any scenario, we ended up just declaring a business answer instead - the editor only would let you into edit mode one paragraph at a time, and you locked that paragraph while you were in it. We found that almost nobody was actually editing the exact same paragraph at the same time anyway... they were working in different parts of the documents. So not only did that resolve all possible copy/paste insanity, the algorithm became brain-dead simple -- when you update or leave the paragraph, send those changes to everyone else's editor.
But that only worked before SubEthaEdit worked absolutely flawlessly with anything we threw at it. You'd have two people editing the same word, yet it never occurred to anybody that we weren't actually all playing with the same piece of clay.
(Moral of the story: "nobody would ever want to that" is a self-fulfilling prophecy)
Then add a gradual set of laugh samples to represent the number of observers who pressed the "yes, that was funny" button. For the jokes with the highest powerlevel animal sounds should be mixed in.
Lets call the invention The Funny Royal.
[1] https://convergencelabs.com/blog/2017/09/what-makes-for-a-gr...
Actually, the way MediaWiki works was what inspired me to better study the problems of version control and concurrent editing in the first place.