This theme component enables you to make Wiki posts (and Shared Edits posts) more obvious.
Wikis and Shared Edits are a powerful feature of Discourse, but many users are unfamiliar with the concept and find the UI just a bit too subtle. This component makes it crystal clear, packaging the content from How to change the style of a Wiki post.
Installing this component enables you to control the background colour of Wiki posts, and to add some text to the history/edit icon in the top right of the post.
The background colour of Wiki posts can be set to whatever you like. It defaults to ‘highlight’, but you can use any of these options:
- It works best when a Scheme colour is chosen (i.e. primary, secondary, tertiary, etc), as these are responsive to automatic dark mode.
- A named color recognised in CSS (e.g. blue, red, yellow, black, etc)
- An HTML color code (e.g. #effbfb, etc)
You can choose one of the same color options for Shared Edits posts (see the Shared Edits Plugin)
This adds the little bit of green text (defaulting to
Wiki Post) in the top right corner of the post:
This is dynamic, and changes colour along with the history icon if there has been a recent edit (this is an unintended happy thing):
If you don’t want any text there, then delete the text in the setting and save it.
The text displayed when it is a Shared Edits post. This is in the Danger color from your palate.
- Auto tag Topics with ‘wiki’
Please make suggestions as replies to this post.
|Install Guide||How to install a theme or theme component|
|New to Discourse Themes?||Beginner’s guide to using Discourse Themes|
Install this theme component