# Pandoc integration

**URL:** https://meta.discourse.org/t/pandoc-integration/149265
**Category:** Development
**Created:** [April 25, 2020, 4:00pm UTC](https://meta.discourse.org/t/pandoc-integration/149265 "2020-04-25T16:00:03Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### Author: ![sunjam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sunjam/32/175682_2.png) [@sunjam](https://meta.discourse.org/u/sunjam)
#### Post date: [August 1, 2020, 4:41pm UTC](https://meta.discourse.org/t/pandoc-integration/149265/12 "2020-08-01T16:41:54Z")

</div>

> [@pacharanero](#):
>
> Are you drafting in Discourse and publishing to Mediawiki?

Yes, which is why I’m thinking it would be ideal to add in Pandoc to simplify conversion. We are held back by:

- [Discourse Event plugin](https://meta.discourse.org/t/discourse-event/149964/51) cannot yet schedule repeat events (weekly meetings).

> [@pacharanero](#):
>
> Or are you taking content from Mediawiki to publish it in Discourse?

Yes, just doing everything by hand.

- [Mediawiki format template as plain text](https://www.noisebridge.net/wiki/Meeting_Notes_Template) is collaborated on in etherpad.
  - Completed text posted to our mediawiki

- Text also copied over to Pandoc
- Pandoc converts to Markdown
- Markdown pasted to DIscourse with specific category and tags.

Hoping to streamline this process. 👍

> [@pacharanero](#):
>
> Mitch Altman

❤

> [@pacharanero](#):
>
> Or are you taking content from Mediawiki to publish it in Discourse?

If possible, this would be awesome. Both mediawiki and Discourse and useful tools. It is great to have important information in the wiki, plus discussion in the forum. Obviously, it is ideal to drop url links so people can easily page between both tools.

> [@pacharanero](#):
>
> Some kind of Mediawiki Sync plugin might be a nice way to please everyone here.

I know there have been attempts by the [wikimedia foundation to integrate](https://www.mediawiki.org/wiki/Discourse) both of these tools together. You can find details on the forum. I was also hopeful to allow [login to our Discourse from Mediawiki SSO](https://github.com/paviliondev/discourse-wikimedia-auth), but [that plugin breaks account creation on our forum](https://github.com/paviliondev/discourse-wikimedia-auth/issues/2).

> [@Use Discourse SSO with Mediawiki](https://meta.discourse.org/t/using-discourse-sso-with-mediawiki/69218/15):
>
> I made a version of this that uses PostgreSQL and has functionality for logging out: [GitHub - hhyyrylainen/singlefile-discourse-sso-php: Ugly, but working single-file SSO implementation in PHP · GitHub](https://github.com/hhyyrylainen/singlefile-discourse-sso-php) I hopefully didn’t make any security related mistakes.

---

_[View the full topic](https://meta.discourse.org/t/pandoc-integration/149265)._
