# Using Posts as a Wiki?

**URL:** https://meta.discourse.org/t/using-posts-as-a-wiki/151700
**Category:** Support
**Created:** [May 16, 2020, 3:16pm UTC](https://meta.discourse.org/t/using-posts-as-a-wiki/151700 "2020-05-16T15:16:13Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![JQ331](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@JQ331](https://meta.discourse.org/u/JQ331)
#### Post date: [May 16, 2020, 3:16pm UTC](https://meta.discourse.org/t/using-posts-as-a-wiki/151700/1 "2020-05-16T15:16:14Z")

</div>

Hi. I’m looking to build a wiki that users can control, and I’d like to use Discourse to do that. The best way I can see to do it is just to allow users to create a “wiki page” by creating a new wiki-fied discourse post, and that single post will serve as the full wiki page.

\*Is that in fact the best way to do it?

For example, is it ok to have a single post that is edited by many users, left open for editing for weeks at a time, and also grows really large (like [this](https://en.wikipedia.org/wiki/JavaScript) kind of size)? A single post seems pretty different than a full wikipedia-like page, so I want to be sure it can work and be stable.

\*I see that you can add a [table of contents](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143). Are there other plugins I should use? For example, I think discourse could work for wiki-style url linking, but I’m not sure yet.

BTW, here are some other posts I’ve looked at:

I see [here](https://meta.discourse.org/t/what-is-a-wiki-post/30801) that it’s possible to wiki-fy a post.

I also see the extended discussion [here](https://meta.discourse.org/t/is-anyone-working-on-a-discourse-wiki/20349/41) about creating a wiki–that conversation is several years old and seems to focus on a few different things, so I’m posting here for this more focused question.

---

<div class="post-metadata">

### Author: ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://meta.discourse.org/u/EricGT)
#### Post date: [May 16, 2020, 4:12pm UTC](https://meta.discourse.org/t/using-posts-as-a-wiki/151700/2 "2020-05-16T16:12:15Z")

</div>

As one of the posters in a linked topic it is noted that there are three things useful for creating wiki topics on Discourse.

One which you noted ([What is a Wiki Post?](https://meta.discourse.org/t/what-is-a-wiki-post/30801)) details converting a regular post to a wiki post meaning that any user with the correct [trust level](https://blog.discourse.org/2018/06/understanding-discourse-trust-levels/) can edit it.

Another which you noted ([DiscoTOC - automatic table of contents](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143) - theme) adds a table of contents to only the first post of a topic.

The third you did not note specifically but mentioned is [Knowledge Explorer Plugin](https://meta.discourse.org/t/knowledge-explorer-plugin/130172) which you may or may not have the ability to install based on your [service plan](https://www.discourse.org/pricing) or self-hosting.

* * *

For many months our site has had Wiki pages in a separate [category](https://swi-prolog.discourse.group/c/wiki/12) with discussion pages in a related [category](https://swi-prolog.discourse.group/c/wiki-discussion/18). The Wiki pages are kept to just one post and the corresponding discussion pages work as normal topics.

Yesterday having learned of the ([DiscoTOC - automatic table of contents](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143) - theme) added it to a few pages and allowed those with trust level 3 and higher to start using it.

In the other post ([Is anyone working on a Discourse Wiki?](https://meta.discourse.org/t/is-anyone-working-on-a-discourse-wiki/20349)) an example of the table of contents was given with [Knowledge Explorer](https://meta.discourse.org/knowledge-explorer). I didn’t know it at the time but that page makes use of two of the noted items, [DiscoTOC - automatic table of contents](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143) (theme) and [Knowledge Explorer Plugin](https://meta.discourse.org/t/knowledge-explorer-plugin/130172). Since our site is not on a service plan that allows the Knowledge Explorer Plugin I can’t elaborate more on it.

* * *

> A single post seems pretty different than a full wikipedia-like page, so I want to be sure it can work and be stable.

It works on our site and is stable. As I noted the discussions are moved off to a corresponding post and since I have admin rights on the site, I can move any replies to the discussion post. I did try some things to limit replies but was not happy with the outcome; open for suggestions.

The main reason it is stable is because most users on our site don’t contribute to the wiki pages. I also see the same thing at StackOverflow where many would rather leave a comment about a needed edit rather than just making the edit. Also its good to know that all post on Discourse have an edit history and can be rolled back.

* * *

One other thing about wiki pages that I view much differently than many is that they do not have to start out cleanly. One of our most popular and most commented on topics is at present and has been for many months, just a growing collection of links, excerpts, comments, etc. The idea is that as things are discovered related to the topic ([Bug hunting toolbox](https://swi-prolog.discourse.group/t/bug-hunting-toolbox/710)) it is just dropped into the wiki post so it is not forgotten.

It has reached quite a sizable list and now needs to be reformatted and filled in with more details and working examples. The table of contents theme gives us the ability to take the next step and organize the information with an ease of finding something faster than reading the entire post.

HTH

---

<div class="post-metadata">

### Author: ![JQ331](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@JQ331](https://meta.discourse.org/u/JQ331)
#### Post date: [May 16, 2020, 4:32pm UTC](https://meta.discourse.org/t/using-posts-as-a-wiki/151700/3 "2020-05-16T16:32:43Z")

</div>

In my case I would need the users to be able to run the show–creating the wiki posts, editing them, etc…

What does the Knowledge Explorer Plugin actually do? Is it basically a more refined search method?

---

<div class="post-metadata">

### Author: ![maiki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maiki/32/233950_2.png) [@maiki](https://meta.discourse.org/u/maiki)
#### Post date: [May 16, 2020, 6:54pm UTC](https://meta.discourse.org/t/using-posts-as-a-wiki/151700/4 "2020-05-16T18:54:46Z")

</div>

Categories have a setting to make new posts as wiki posts. I use it extensively.

I don’t use “wiki-style url linking”, just normal Discourse linking.

---

<div class="post-metadata">

### Author: ![tomtjes](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tomtjes/32/131271_2.png) [@tomtjes](https://meta.discourse.org/u/tomtjes)
#### Post date: [May 16, 2020, 7:28pm UTC](https://meta.discourse.org/t/using-posts-as-a-wiki/151700/5 "2020-05-16T19:28:33Z")

</div>

> [@EricGT](#):
>
> many would rather leave a comment about a needed edit rather than just making the edit.

I wonder if that would improve if wiki posts had the user who first posted it hidden. I feel uncomfortable editing someone else’s post when it has their name attached to it.

---

<div class="post-metadata">

### Author: ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://meta.discourse.org/u/EricGT)
#### Post date: [May 16, 2020, 8:41pm UTC](https://meta.discourse.org/t/using-posts-as-a-wiki/151700/6 "2020-05-16T20:41:21Z")

</div>

> [@tomtjes](#):
>
> I wonder if that would improve if wiki posts had the user who first posted it hidden.

An admin can change the ownership of a post so I tried this and this is what I learned.

1. As an admin I can change the ownership of all post in a topic. [Can I change the owner of a post?](https://meta.discourse.org/t/can-i-change-the-owner-of-a-post/34282)
2. As an admin I can not use the admin GUI to just create a user. Looks like it can be done from the console, sadly I lack that privilege so I did the old fashion way. [How to manually add user in discourse?](https://meta.discourse.org/t/how-to-manually-add-user-in-discourse/69878)

 ![image](https://global.discourse-cdn.com/meta/original/3X/8/6/866c13b55d395d3f395ed5bcca190f9fd54a0b5f.png)

Hopefully that is not confusing.

I could not find a way to hide the creator of the post.

As a suggestion perhaps Discourse should create a user just for owning Wiki post and/or that can be set when creating the category.

Now knowing this I am changing the ownership of the Wiki post. 😃

---

<div class="post-metadata">

### Author: ![maiki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maiki/32/233950_2.png) [@maiki](https://meta.discourse.org/u/maiki)
#### Post date: [May 17, 2020, 7:43pm UTC](https://meta.discourse.org/t/using-posts-as-a-wiki/151700/7 "2020-05-17T19:43:04Z")

</div>

Here’s some practical advice was a wiki editor of some years: no wiki makes sense to _everyone_, so you have to explain it _somewhere_. Where you explain, encourage the behavior you want.

Collaboration requires manual _gardening_, and that includes encouragement. For Discourse I encourage folks to **be bold** and make edits because we can always fix anything, but also it’s totally fine to _discuss_ changes in a topic. Then, if we come up with clear edits I encourage individuals to make the actual changes.

A little bit of hand-holding goes a long way for wikae. ^\_~

---

<div class="post-metadata">

### Author: ![JQ331](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@JQ331](https://meta.discourse.org/u/JQ331)
#### Post date: [May 18, 2020, 2:24pm UTC](https://meta.discourse.org/t/using-posts-as-a-wiki/151700/8 "2020-05-18T14:24:28Z")

</div>

Thanks for all the replies here. So, for the question of whether it is ok to have a single discourse post become a full wikipage–meaning it can get very long, many users can contribute, and it can stay open for a long time–sounds like that should be fine, is that right?

---

<div class="post-metadata">

### Author: ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://meta.discourse.org/u/EricGT)
#### Post date: [May 18, 2020, 2:45pm UTC](https://meta.discourse.org/t/using-posts-as-a-wiki/151700/9 "2020-05-18T14:45:27Z")

</div>

> [@JQ331](#):
>
> it can get very long

There is a 32000 character limit to the length of a post. Also if you are using [DiscoTOC](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143) with the page and it is long, expect the table of contents to take a few seconds to render.

---

<div class="post-metadata">

### Author: ![JQ331](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@JQ331](https://meta.discourse.org/u/JQ331)
#### Post date: [May 18, 2020, 2:57pm UTC](https://meta.discourse.org/t/using-posts-as-a-wiki/151700/10 "2020-05-18T14:57:16Z")

</div>

Thanks, that’s the exact kind of detail that’s very helpful to hear. I wasn’t aware of those limitations, and they are pretty serious for my use case.

Are there other technical issues I’ll face trying to allow users to make their posts long wiki-pages?

---

<div class="post-metadata">

### Author: ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://meta.discourse.org/u/EricGT)
#### Post date: [May 18, 2020, 3:02pm UTC](https://meta.discourse.org/t/using-posts-as-a-wiki/151700/11 "2020-05-18T15:02:08Z")

</div>

> [@JQ331](#):
>
> Are there other technical issues I’ll face trying to allow users to make their posts long wiki-pages?

While not a technical issue, if you start to come up with features you would like to have added for wiki post you will run into the Discourse use cases, e.g. [Wiki improvement – Split content into multiple sections?](https://meta.discourse.org/t/wiki-improvement-split-content-into-multiple-sections/115429)

---

<div class="post-metadata">

### Author: ![JQ331](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@JQ331](https://meta.discourse.org/u/JQ331)
#### Post date: [May 18, 2020, 4:12pm UTC](https://meta.discourse.org/t/using-posts-as-a-wiki/151700/12 "2020-05-18T16:12:13Z")

</div>

Thanks. Yes, that is probably the underlying concern. Discourse has so much going for it–the clean interface, so much great functionality, easy implementation, etc. But ultimately it is for forums, not wiki articles. So even if there are workarounds to get close to wiki-like functionality, there’s a concern that trying to use Discourse for a meaningful and growing wiki will be constantly trying to fit things into discourse that it’s not currently built for.

I’ll think about it, and I would personally be very excited if discourse did have full wiki functionality, but I lean toward trying to find a full wiki solution for building a wiki.

---

<div class="post-metadata">

### Author: ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://meta.discourse.org/u/EricGT)
#### Post date: [May 18, 2020, 4:17pm UTC](https://meta.discourse.org/t/using-posts-as-a-wiki/151700/13 "2020-05-18T16:17:39Z")

</div>

If you watch the [video presentations](https://blog.discourse.org/2019/09/presentations-on-discourse/) given by Jeff you will see that he is one who will listen and is open to change but you have to make a very effective case. That is a route you may not have considered.

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [May 18, 2020, 6:15pm UTC](https://meta.discourse.org/t/using-posts-as-a-wiki/151700/14 "2020-05-18T18:15:50Z")

</div>

> [@EricGT](#):
>
> There is a 32000 character limit to the length of a post

That’s the default value, but you can easily change it via site settings if you need to.

> [@EricGT](#):
>
> Also if you are using [DiscoTOC](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143) with the page and it is long, expect the table of contents to take a few seconds to render.

“a few seconds” is way too long and that should never happen.

Generating the table of contents with that component should happen instantaneously. If it does take that long, then there’s something wrong and I can fix it if you share more details about when it happens.

---

<div class="post-metadata">

### Author: ![JQ331](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@JQ331](https://meta.discourse.org/u/JQ331)
#### Post date: [May 18, 2020, 6:35pm UTC](https://meta.discourse.org/t/using-posts-as-a-wiki/151700/15 "2020-05-18T18:35:17Z")

</div>

Seems like there are some different views here.

So it would be helpful to hear from the team on this: Do you expect it will work fine to use Discourse to set up a wiki site? The method being to allow users to set up “wiki pages”–in the form of users creating wiki-fied posts.

(The reason to try this approach instead of using a full-on wiki tool like mediawiki would be that discourse is easy to use in general, looks great, etc.)

---

<div class="post-metadata">

### Author: ![maiki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maiki/32/233950_2.png) [@maiki](https://meta.discourse.org/u/maiki)
#### Post date: [May 18, 2020, 6:35pm UTC](https://meta.discourse.org/t/using-posts-as-a-wiki/151700/16 "2020-05-18T18:35:47Z")

</div>

> [@JQ331](#):
>
> Are there other technical issues I’ll face trying to allow users to make their posts long wiki-pages?

Have you read 32,000 characters? I don’t consider that a “limitation” per se.

> **[Wikipedia:Article size](https://en.wikipedia.org/wiki/Wikipedia:Article_size)**
>
> This page contains an overview of the key issues concerning article size. There are three related measures of an article's size:
> The article size impacts usability in multiple ways:
> When an article is too large, consider breaking it into smaller articles, spinning part of it out into a new article, or merging part of it into another existing article. When an article is too small, consider merging with one or more other existing articles. Such editorial decisions require consensus. Guidelines ...

> A page of about 30 kB to 50 kB of readable prose, which roughly corresponds to 4,000 to 10,000 words, takes between 30 and 40 minutes to read at average speed

I think you have plenty of room to grow and engage. 🌈

---

<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: [May 18, 2020, 6:45pm UTC](https://meta.discourse.org/t/using-posts-as-a-wiki/151700/17 "2020-05-18T18:45:50Z")

</div>

I think it depends how big these “wikis” get. If they are lightweight simple affairs liberally mixed with some discussion, then probably OK. If they are massive one million word novellas in an effort to rebuild wikipedia from scratch, then probably not.

---

<div class="post-metadata">

### Author: ![JQ331](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@JQ331](https://meta.discourse.org/u/JQ331)
#### Post date: [May 18, 2020, 7:03pm UTC](https://meta.discourse.org/t/using-posts-as-a-wiki/151700/18 "2020-05-18T19:03:26Z")

</div>

Ha. We’ll put the potential problem of “massive one million word novellas” into the bucket of “we’ll deal with that one when get there” type of problems… So not massive posts, but probably posts of “moderate” wikipedia length, perhaps like [this one](https://en.wikipedia.org/wiki/C_Sharp_(programming_language)).

From the basics that I can see–the ability to allow users to create wiki-style posts, the TOC plugin, and the basic ability to link to urls in normal posting–it seems like it could work.

Being new to Discourse it’s tough to know if there could be unforeseen issues that come up with building a wiki site --not a full wikipedia, but still a wikipedia-like site focused on a specific set of topics–with Discourse, so that it would be better to just start off with wiki-focused software like mediawiki.

I understand that ultimately the real test will be once I dive in, but this feedback is very helpful to identify where to start diving.

---

<div class="post-metadata">

### Author: ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://meta.discourse.org/u/EricGT)
#### Post date: [May 18, 2020, 7:03pm UTC](https://meta.discourse.org/t/using-posts-as-a-wiki/151700/19 "2020-05-18T19:03:47Z")

</div>

> [@Johani](#):
>
> > [@EricGT](#):
> >
> > There is a 32000 character limit to the length of a post
> 
> That’s the default value, but you can easily change it via site settings if you need to.

Thanks,

I am so you to those limits from days gone by that I never thought there would be setting to change it.

Settings → Posting → Max Post Length

PostgreSQL [notes](https://www.postgresql.org/docs/9.6/datatype-character.html)

> the longest possible character string that can be stored is about 1 GB.

---

<div class="post-metadata">

### Author: ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://meta.discourse.org/u/EricGT)
#### Post date: [May 18, 2020, 8:07pm UTC](https://meta.discourse.org/t/using-posts-as-a-wiki/151700/20 "2020-05-18T20:07:49Z")

</div>

In [Wiki improvement – Split content into multiple sections?](https://meta.discourse.org/t/wiki-improvement-split-content-into-multiple-sections/115429)

Stephen [notes](https://meta.discourse.org/t/wiki-improvement-split-content-into-multiple-sections/115429/20):

> [@](#):
>
> Well you’ve got a couple of options here I guess:
> 
> - accept the wiki behavior of discourse
> - develop a discourse plugin to extend the wiki functionality
> - deploy a separate wiki

Here is a possible way with a variation on `develop a discourse plugin to extend the wiki functionality` but instead of a plugin it might be doable with a theme since a them is just JavaScript and CSS.

The editor for [Wikimedia](https://en.wikipedia.org/wiki/Wikimedia_Foundation) is MIT licensed and as noted in the Wikipedia [article](https://en.wikipedia.org/wiki/VisualEditor) is written in [JavaScript](https://en.wikipedia.org/wiki/JavaScript), [Node.js](https://en.wikipedia.org/wiki/Node.js), [PHP](https://en.wikipedia.org/wiki/PHP)

Just thinking out loud but would it be possible to use a theme like [DiscoTOC](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143) or similar to add the [[edit](https://en.wikipedia.org/wiki/Wikipedia:FAQ/Editing#How_do_I_edit_a_page?)] at the end of each section which when clicked takes the section, passes it off to the Wikimedia editor and when the changes are done updates Discourse post. Then Discourse would be able to side step the whole issue of having to create a Wiki editor yet get the pizzazz and marketability of having better wiki pages.

Its a good thing Discourse doesn’t have down votes, I would never offer this up as an answer at StackOverflow.

[Next page](https://meta.discourse.org/t/using-posts-as-a-wiki/151700.md?page=2)
