# Editing wiki posts at same time as someone else sometimes loses revisions

**URL:** https://meta.discourse.org/t/editing-wiki-posts-at-same-time-as-someone-else-sometimes-loses-revisions/30741
**Category:** Feature
**Tags:** composer, wiki-posts
**Created:** [2015年七月3日 03:48 UTC](https://meta.discourse.org/t/editing-wiki-posts-at-same-time-as-someone-else-sometimes-loses-revisions/30741 "2015-07-03T03:48:04Z")
**Posts on this page:** 10
**Page:** 2

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2018年十一月7日 03:28 UTC](https://meta.discourse.org/t/editing-wiki-posts-at-same-time-as-someone-else-sometimes-loses-revisions/30741/24 "2018-11-07T03:28:09Z")

</div>

It’s not exactly what I had in mind either but it is definitely better than the old “silently overwrite” behavior, so I guess we can improve it more later?

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [2018年十一月9日 12:43 UTC](https://meta.discourse.org/t/editing-wiki-posts-at-same-time-as-someone-else-sometimes-loses-revisions/30741/25 "2018-11-09T12:43:15Z")

</div>

A small follow-up on the edit conflict feature.

Now the edit conflict shows as soon as a draft is saved (every 2 seconds or so).

The other logic (the one that is triggered on submitting the changes) is still there.

 ![31](https://global.discourse-cdn.com/meta/original/3X/8/a/8af1ce0f8a0247965bad50858db48a43cf389e2b.png)

[https://github.com/discourse/discourse/pull/6585](https://github.com/discourse/discourse/pull/6585)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2018年十一月9日 20:06 UTC](https://meta.discourse.org/t/editing-wiki-posts-at-same-time-as-someone-else-sometimes-loses-revisions/30741/26 "2018-11-09T20:06:55Z")

</div>

Sooo nice! 😍

One very small (I hope?) tweak.. instead of the ⚠ can we show the small avatar of the user who the (most recent, since in theory there could be an infinite number of editing users 😱) edit conflict is with? My thinking is, this would allow you to ping that person and ask them about their edits?

 ![image](https://global.discourse-cdn.com/meta/original/3X/9/a/9a2686a6200a1d9bac3d7b6c566b3ca9cab190e6.jpeg)

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [2018年十一月9日 22:47 UTC](https://meta.discourse.org/t/editing-wiki-posts-at-same-time-as-someone-else-sometimes-loses-revisions/30741/27 "2018-11-09T22:47:17Z")

</div>

Is it outside the realm of possibility to diff and compare edits in the same way that we compare versions today?

We’re assuming that changes will conflict and work will be lost, but the possibility exists that two editors are making approximately equal changes.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2018年十一月10日 09:42 UTC](https://meta.discourse.org/t/editing-wiki-posts-at-same-time-as-someone-else-sometimes-loses-revisions/30741/28 "2018-11-10T09:42:43Z")

</div>

It’s possible but wayyyy more work for not so much added value. We’re just ensuring no work is lost.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2018年十一月12日 06:12 UTC](https://meta.discourse.org/t/editing-wiki-posts-at-same-time-as-someone-else-sometimes-loses-revisions/30741/29 "2018-11-12T06:12:04Z")

</div>

It is more work certainly as @zogstrip said but yeah we could diff against the original in both cases and just apply the diff leaving us still to deal with potential merge conflicts.

But I feel this is an optimization for later, not one for today, would far prefer investing in making other aspects of wiki better.

---

<div class="post-metadata">

### Author: ![XPMai](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xpmai/32/84584_2.png) [@XPMai](https://meta.discourse.org/u/XPMai)
#### Post date: [2018年十二月4日 09:58 UTC](https://meta.discourse.org/t/editing-wiki-posts-at-same-time-as-someone-else-sometimes-loses-revisions/30741/40 "2018-12-04T09:58:32Z")

</div>

Just asking, why not make the Wiki a collaborative real-time editor like Google Docs?

---

<div class="post-metadata">

### Author: ![danekhollas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/danekhollas/32/79637_2.png) [@danekhollas](https://meta.discourse.org/u/danekhollas)
#### Post date: [2018年十二月4日 10:20 UTC](https://meta.discourse.org/t/editing-wiki-posts-at-same-time-as-someone-else-sometimes-loses-revisions/30741/41 "2018-12-04T10:20:13Z")

</div>

I’d say the answer is 'cause it’s bloody complicated` and maybe outside of a scope? But I would for sure love that 🙂

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [2018年十二月14日 18:42 UTC](https://meta.discourse.org/t/editing-wiki-posts-at-same-time-as-someone-else-sometimes-loses-revisions/30741/42 "2018-12-14T18:42:12Z")

</div>

have you seen the collude plugin? it works reasonably well.

> [@Collude - a collaborative text editor for Discourse](https://meta.discourse.org/t/collude-a-collaborative-text-editor-for-discourse/96474):
>
> Collude is a collaborative text editor for Discourse, written using [EasySync](https://github.com/ether/etherpad-lite/raw/master/doc/easysync/easysync-full-description.pdf), the same underlying algorithm used in Etherpad nerd_faceGive it a look Check out a [video demo](https://www.useloom.com/share/d522498b7c2a430e8a765ea6160bf90b), or give it a whirl on my [test instance](https://discourse-babble.com/t/this-is-a-test-topic-for-collaborative-editing/103). Give it a try NOTE: This project is decidedly beta at the moment, and I am posting here in order to garner some willing souls to help me test it out and let me know what’s rough and what I should improve next. To install, follow the normal [plugin installation instructions](https://meta.discourse.org/t/install-plugins-in-discourse/19157). As an …

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2019年五月11日 08:27 UTC](https://meta.discourse.org/t/editing-wiki-posts-at-same-time-as-someone-else-sometimes-loses-revisions/30741/43 "2019-05-11T08:27:56Z")

</div>



[上一頁](https://meta.discourse.org/t/editing-wiki-posts-at-same-time-as-someone-else-sometimes-loses-revisions/30741.md?page=1)
