It seems that TL4 users are unable to convert a post into a wiki until that post is at least 5 minutes old. Based on feedback from the admin at my primary forum (@PJH ) there does not appear to be any settings to change this timeframe.
Is this 5 minute delay intentional? If so:
Why is it not configurable?
What is the reasoning behind making TL4 users wait 5 minutes before making a post a wiki?
3 Likes
cpradio
(cpradio)
February 2, 2015, 2:53pm
2
My guess is it relates to the “Grace Period” posts have for editing. Not sure why it prevents the Wiki setting though…
The “Grace Period” (ninja period, in the vernacular) is only about a minute where this has been observed.
1 Like
cpradio
(cpradio)
February 2, 2015, 2:57pm
4
Ah, well then, that rules out that possibility
PJH
(PJH)
February 2, 2015, 4:25pm
5
54 seconds. For some reason…
[postgres@sofa ~]$ psql -d discourse -c "select uh.updated_at, username, previous_value, new_value
from user_histories uh
join users u on u.id=acting_user_id
where subject='ninja_edit_window'
order by uh.updated_at asc;"
updated_at | username | previous_value | new_value
----------------------------+----------+----------------+-----------
2014-06-25 15:56:02.054118 | dhromed | 300 | 60
2014-07-15 16:05:28.750162 | PJH | 60 | 300
2014-07-15 16:05:33.381305 | PJH | 300 | 60
2014-10-29 00:50:43.081509 | system | 60 | 54
(4 rows)
[postgres@sofa ~]$
1 Like
It should also be noted that this only affects TL4 users. Staff users are able to make posts of any age into wikis.
1 Like
eviltrout
(Robin Ward)
February 2, 2015, 6:12pm
7
This was a bug, which I have fixed in this commit:
https://github.com/discourse/discourse/commit/f15b0d205f62dad5ffc468cded650677497be148
As always, thanks for letting me know about it!
7 Likes
sam
(Sam Saffron)
February 2, 2015, 9:34pm
8
I think @eviltrout just fixed this