# 为长宽限期编辑存储真实修订版

**URL:** <https://meta.discourse.org/t/store-a-real-revision-for-large-grace-period-edits/81614>\
**Category:** Feature\
**Created:** [2018年二月26日 23:43 UTC](https://meta.discourse.org/t/store-a-real-revision-for-large-grace-period-edits/81614 "2018-02-26T23:43:08Z")\
**Posts on this page:** 8\
**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年三月8日 03:03 UTC](https://meta.discourse.org/t/store-a-real-revision-for-large-grace-period-edits/81614/21 "2018-03-08T03:03:47Z")

</div>

![](https://global.discourse-cdn.com/meta/original/3X/e/5/e599845751f7c94ebedefaa6f257305554ce4d83.gif)

Also for @jomaxro if this proves to be a problem on a specific site they can turn down the site setting value from 100 to 20 or whatever they like.

---

<div class="post-metadata">

**Author:** ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)\
**Post date:** [2018年三月8日 09:30 UTC](https://meta.discourse.org/t/store-a-real-revision-for-large-grace-period-edits/81614/22 "2018-03-08T09:30:17Z")

</div>

Would it make sense to differentiate between additions and deletions?

Let’s say I delete have my post during the grace period. That’s most likely worth a revision. But I think there’s no need to create a revision if I just add a few more sentences during the grace period.

---

<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年三月8日 09:33 UTC](https://meta.discourse.org/t/store-a-real-revision-for-large-grace-period-edits/81614/23 "2018-03-08T09:33:28Z")

</div>

Given the uneasiness this generates I am probably just going to make this a tl1 / 2 thing and wind it down to 100.

Too many high trust users are used to sneaking stuff in that I just don’t feel that it is worth disturbing the status quo for now

Will change this tomorrow

---

<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年三月8日 10:23 UTC](https://meta.discourse.org/t/store-a-real-revision-for-large-grace-period-edits/81614/24 "2018-03-08T10:23:04Z")

</div>

I am fine with two settings, one for TL0/1 and one for higher trust users. We could set the TL0/1 to 100 chars, and the higher trust one to 400 chars. That would resolve my concerns 100%, other than being yet another unavoidable site setting, no downside, the code path seems relatively straightforward?

---

<div class="post-metadata">

**Author:** ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)\
**Post date:** [2018年三月8日 10:54 UTC](https://meta.discourse.org/t/store-a-real-revision-for-large-grace-period-edits/81614/25 "2018-03-08T10:54:39Z")

</div>

Unfortunately a higher number of chars makes it harder to protect against mistakes.

> [@sam](#):
>
> It protects end users from “mistake” nuking own post with a ninja edit (cause a revision will be stored)

---

<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年三月8日 11:48 UTC](https://meta.discourse.org/t/store-a-real-revision-for-large-grace-period-edits/81614/26 "2018-03-08T11:48:34Z")

</div>

I believe the scenario @sam wanted to protect against was accidentally deleting an entire long post, which would certainly be more than a 400 char change. Remember a Twitter message used to be 140 characters, and is now 280 chars. 140 chars is _tiny_.

---

<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年三月9日 01:00 UTC](https://meta.discourse.org/t/store-a-real-revision-for-large-grace-period-edits/81614/27 "2018-03-09T01:00:27Z")

</div>

Done per:

[https://github.com/discourse/discourse/commit/5b6e49ae1dee184b2b26b23426af6295f8d6fe27](https://github.com/discourse/discourse/commit/5b6e49ae1dee184b2b26b23426af6295f8d6fe27)

Now, if only I had a grace period on my GitHub commit messages.

---

<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年三月10日 07:00 UTC](https://meta.discourse.org/t/store-a-real-revision-for-large-grace-period-edits/81614/28 "2018-03-10T07:00:12Z")

</div>

This topic was automatically closed after 2 days. New replies are no longer allowed.

[上一頁](https://meta.discourse.org/t/store-a-real-revision-for-large-grace-period-edits/81614.md?page=1)
