A tiny Python script to export the content of an Etherpad in a form that is suitable for posting as a wiki page, avoiding the issue that subsequent lines blend into one because MediaWiki treats newlines differently.
Basically, it adds "<br />
" tags to the end of every line of the Etherpad, except those where MediaWiki will keep the line break anyway when parsing it as wikitext (e.g. after a line that starts with "*").
Optionally it embeds pages of a PDF file from Wikimedia Commons where indicated ("[slide]" is replaced by an embedding of page n).
Developed to publish minutes and slides from the Wikimedia Foundation's quarterly review team meetings.
Usage: etherpad2wiki.py sourceurl outputfile.txt [slidesfilename]
Based on https://github.com/tbayer/wikibrs
To avoid getting yourself into trouble when using this for Wikipedia articles, consider looking at the essay "Don't use line breaks" first ;)