Showing posts with label python. Show all posts
Showing posts with label python. Show all posts

Thursday, 29 September 2016

scripted update from vimwiki to mediawiki

For my upcoming Pathfinder campaign, I have a vimwiki installation with content I want to give to my players, and that vimwiki is configured to use mediawiki syntax.

I also have a mediawiki installation facing the Internet.

I wanted a tool to copy my content from the vimwiki on my laptop to the mediawiki server. I found this blog post tying together mediawiki and the python mwclient module as a start.

I extended the idea behind that blog post and wrote a script, which is up at Github, that covers what I need.

Running that script copies each page from vimwiki to a defined mediawiki server.