The purpose of this component is to encourage users to add edit reasons when they edit a post. Edit reasons are displayed at the top of a post’s edit history modal and are a great way to understand why something within a post was changed. This might be especially useful for users that are able to edit other users’ posts as it will help to avoid any “why did you edit my post?!” responses.
How it Works
If an affected user tries to submit an edit without an edit reason, a popup modal is presented that displays a customizable message explaining the situation. Once they have added an edit reason, their edit can be submitted successfully.
Pro-tip: If you want to require all users to add edit reasons, simply add the trust_level_0 group to the “edit reason required groups” theme setting.
Installation
Repository Link https://github.com/tshenry/discourse-require-edit-reason
If you are unfamiliar with theme components and how to install them, check out the theme installation guide . And if you’d like to learn more about Discourse themes, take a look at this guide .
I’m not sure if anybody else is experiencing this, but I’ve implemented this on my site and set the edit reason required groups to `trust_level_0’ and it seems like it doesn’t work. I don’t think any other site users are seeing the popup modal asking for an edit reason either.
If anybody else knows a solution, or possibly the theme is broken, please let me know, thanks.
TL 0 cannot edit someone else’s posts. These are default settings in Discourse. I don’t believe this TC overrides the default user TL settings (I may be wrong). See Trust Level Permissions Reference
Okay this could be related to it being a wiki post vs a standard post. At least guess as a wiki generally makes a post editable by the majority vs a very select few.