Wikified Posts Component

Simple Description

This theme component enables you to make Wiki posts more obvious.


Detailed Description

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.

It is a fork of discourse-wikified-post-background-color by @pacharanero, incorporates stuff from How to change the style of a Wiki post and re-used code from Personal Message Bubbles by @Rhidian.

Wiki post background color

The background colour of Wiki posts can be set to whatever you like. It defaults to ‘green’, but you can use any of these options:

  1. A named color recognised in CSS (e.g. blue, red, yellow, black, etc)
  2. A color from your Colour Palette (i.e. primary, secondary, tertiary, and quaternary
  3. An HTML color code (e.g. #effbfb, etc)
  4. Other options such as opacity and other Colour Palette colors may be added in future

Wiki added text

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.


  1. Add ability to use opacity and other Colour Palette colors
  2. Auto tag posts with ‘wiki’
  3. Make compatible with auto dark colour scheme / dark themes

Please make suggestions as replies to this post.


Lovely stuff @nathankershaw
I’m going to archive the old wikified post background color repo, in favour of this your new version, which adds much more.