# Can't mark a post as wiki anymore

**URL:** https://meta.discourse.org/t/cant-mark-a-post-as-wiki-anymore/40090
**Category:** Support
**Created:** [Février 24, 2016, 2:24 UTC](https://meta.discourse.org/t/cant-mark-a-post-as-wiki-anymore/40090 "2016-02-24T14:24:18Z")
**Posts on this page:** 8
**Page:** 2

<div class="post-metadata">

### Author: ![joebuhlig](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joebuhlig/32/193054_2.png) [@joebuhlig](https://meta.discourse.org/u/joebuhlig)
#### Post date: [Janvier 19, 2017, 4:44 UTC](https://meta.discourse.org/t/cant-mark-a-post-as-wiki-anymore/40090/24 "2017-01-19T16:44:01Z")

</div>

I’m not seeing the green icon either. I’m on iOS at the moment. The pencil under the more icon is there, though.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [Janvier 20, 2017, 8:22 UTC](https://meta.discourse.org/t/cant-mark-a-post-as-wiki-anymore/40090/25 "2017-01-20T08:22:20Z")

</div>

Ok this is fixed in

[https://github.com/discourse/discourse/commit/32846aad2a511d631b3845cf1f72dea7ec689522](https://github.com/discourse/discourse/commit/32846aad2a511d631b3845cf1f72dea7ec689522)

There were a couple of problems here:

1. We were increasing the post’s version of the post client side without considering whether the post’s version was actually increased server side. That was causing all sort of weird rendering patterns because the post version is used to determine whether we show the edit icon.

2. Marking a post as a wiki was bumping the post’s version which is wrong and results in a client side bug where the edit history window will contain a version without any changes.

---

<div class="post-metadata">

### Author: ![Slowhand](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/slowhand/32/57436_2.png) [@Slowhand](https://meta.discourse.org/u/Slowhand)
#### Post date: [Janvier 20, 2017, 12:21 UTC](https://meta.discourse.org/t/cant-mark-a-post-as-wiki-anymore/40090/26 "2017-01-20T12:21:53Z")

</div>

This is fixed!

Thank you so much @tgxworld ! 🙂

---

<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: [Janvier 20, 2017, 7:52 UTC](https://meta.discourse.org/t/cant-mark-a-post-as-wiki-anymore/40090/27 "2017-01-20T19:52:16Z")

</div>



---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [Janvier 25, 2017, 4:14 UTC](https://meta.discourse.org/t/cant-mark-a-post-as-wiki-anymore/40090/28 "2017-01-25T04:14:30Z")

</div>

> [@tgxworld](#):
>
> Marking a post as a wiki was bumping the post’s version which is wrong and results in a client side bug where the edit history window will contain a version without any changes.

O dear. This is actually a feature we support and the post revision is meant to display the wiki icon if the post was made wiki. Will have to revert my change here and add tests for this case.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [Janvier 25, 2017, 4:14 UTC](https://meta.discourse.org/t/cant-mark-a-post-as-wiki-anymore/40090/29 "2017-01-25T04:14:32Z")

</div>



---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [Janvier 25, 2017, 5:36 UTC](https://meta.discourse.org/t/cant-mark-a-post-as-wiki-anymore/40090/30 "2017-01-25T05:36:15Z")

</div>

Ok found the actual bug

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

Reverting the previous change I made in

[https://github.com/discourse/discourse/commit/781d83a46f2469c0e055c6c535822fa285870dce](https://github.com/discourse/discourse/commit/781d83a46f2469c0e055c6c535822fa285870dce)

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [Janvier 27, 2017, 5:36 UTC](https://meta.discourse.org/t/cant-mark-a-post-as-wiki-anymore/40090/31 "2017-01-27T05:36:27Z")

</div>

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

[Page précédente](https://meta.discourse.org/t/cant-mark-a-post-as-wiki-anymore/40090.md?page=1)
