Buy an enterprise hosting contract is the main way to move forward. None of our customers are asking for this. Not opposed to it but we have other priorities based on our paying customers at the moment.
This one has been specâd out and currently has a âbountyâ:
If you want to split the requests, that probably could be done through another feature:
Topic templates commands. So we could issue a command to turn it into wiki. Not sure if this have been considered yet, or why not. If it havenât, Iâm probably posting this in the wrong place⊠![]()
Just to throw in my 2 cents. I love Discourse, and a Wiki option would be AWESOME! I too feel like most wiki software is stuck in 2005 or earlier.
To be clear âWikiâ functionality exists:
Perhaps itâs not an exact replacement for Wikipediaâs MediaWiki - but the base functionality to a large degree exists and works.
Itâs a solid foundation that could be much improved with a little bit of work:
In a âwiki categoryâ :
- All new topics are wikified by default
- Author attribution is suppressed
- Always go to first post when viewing a topic
(option to hide replies on separate page)
And made into a âproperâ wiki with some more detailed and involved work:
- Table of contents generation with [contents] object and headers
- Create links to other topics by âtaggingâ them ie.
&PageTitle - Create new topics by tagging a non-existant page eg.
&NewTopic
I happened to be looking at this today in another context. While itâs a little convoluted, it is actually possible to pass non-default parameters (such as wiki) to new posts. It took me a little while to figure this out, so someone else may find it useful. There are four things you need to do:
- Set
wikito true when creating thepostrecord in the store. - Add
wikito the serialized composer properties viaComposer.serializeOnCreate. - Use
PostRevisor.track_topic_field(:wiki)to addwikias a permitted param in theposts_controller. - Save the
wikiopt to the Post using thepost_createdevent.
Iâve been trying to decide which official Wiki to create a plugin with MediaWiki Classic of the new FederatedWiki.
Thank you so much for posting your experience.
Wiki pages on a forum are a great idea, kudos to Discourse. The revisions system works well. The editor is great.
But thereâs a massive gap in functionality from my PoV.
If two people edit concurrently, one personâs work is lost
Weâve not had much use of the wiki feature on my forum (1000 visits/day) but weâve already seen multiple edit clashes.
Suggested solutions in order of preference (preferred first):
- Live collaboration (show where the editorsâ cursors are, as per google docs).
- Lock a post to other editors when itâs being edited
- Allow conflicts to be merged by the last editor.
I havenât tested this locally, but are both revisions available in the edit history modal?
(BTW you posted an incomplete URL to the example of the problem)
I believe both revisions are there in the history, yes. The link is just to the forum. The conflicts were in our private staff area. The issue is easily reproducible.
Yes, both are visible â but the second person to make the edit usually wonât notice that they reverted the previous personâs changes. 
Iâve not tried this myself, but I think the Pages theme for Grav (a flat file CMS) could serve as a wiki. Additionally, Grav has support for Discourse comments via the JS Comments plugin.
The official Grav docs use the same theme.
Esta discussĂŁo tem vĂĄrios anos, mas eu a encontrei depois de perceber que organizar meu fĂłrum como uma wiki seria muito legal. @peternlewis capturou bem o que eu tambĂ©m teria em mente. NĂŁo se trata apenas de permitir funcionalidades de wiki em posts individuais â Ă© fazer com que meu site Discourse funcione como uma wiki tipo Wikipedia. Como ele disse:
Isso Ă© possĂvel com o Discourse?
Seria este? https://meta.discourse.org/knowledge-explorer
VocĂȘ pode instalar DiscoTOC - automatic table of contents em qualquer plano.
VocĂȘ pode incorporar cĂłdigo executĂĄvel usando o Codepen ou https://repl.it/.
Obrigado.
Para ser mais especĂfico, acho que estamos em um dos planos de cĂłdigo aberto e provavelmente neste em particular: Free Hosting for Open Source v2
Como administrador, verifiquei se podia instalar o DiscoTOC, mas ele nĂŁo estava na lista de plugins disponĂveis. ![]()
Obrigado, mas, infelizmente, somos programadores em Prolog, especificamente SWI-Prolog (fĂłrum Discourse). Embora exista alguma capacidade de fazer algum Prolog no CodePen, nada se compara ao que pode ser feito com Prolog e, como nĂŁo era especificamente SWI-Prolog, nĂŁo foi utilizado. O SWI-Prolog possui uma ferramenta online chamada SWISH, mas mesmo esta Ă© limitada por questĂ”es de segurança em relação ao que pode ser feito totalmente com Prolog; se vocĂȘ sabe o quanto pode fazer com LISP por ser homoicĂŽnico, entĂŁo entende a ideia. Tentei integrar o SWISH com um Iframe e algumas outras ideias, mas nĂŁo consegui fazer nenhuma delas funcionar como desejado; consegui fazer algo funcionar, mas nĂŁo era prĂĄtico, devido Ă largura da tela, se me lembro bem.
Novamente, obrigado pelo feedback, foi muito apreciado.
Como administrador, verifiquei se podia instalar o DiscoTOC, mas ele nĂŁo estava na lista de plugins disponĂveis.
Ă um componente de tema
Seria isso? https://meta.discourse.org/knowledge-explorer
O que vocĂȘ estava se referindo ali?
Para ser mais especĂfico, acho que estamos em um dos planos de cĂłdigo aberto e provavelmente neste em particular: Hospedagem Gratuita para CĂłdigo Aberto v2
Como administrador, verifiquei se podia instalar o DiscoTOC, mas ele nĂŁo estava na lista de plugins disponĂveis.
O DiscoTOC Ă© um componente de tema, nĂŁo um plugin. Ele Ă© instalado seguindo Como instalar um Tema ou Componente de Tema? e estĂĄ definitivamente disponĂvel para vocĂȘ, tente.
Obrigado, mas infelizmente somos programadores em Prolog.
Ah, entendo.
Acho que tentar obter uma instùncia funcional do repl.it para Prolog, mesmo que alimentada por SWI-Prolog compilado para WASM, pode ser sua melhor opção. Tente entrar em contato com o fundador do repl.it @Amjad_Masad.