[Mediawiki-l] import/export text and html

oliver ohemming at gmail.com
Fri May 5 16:55:03 UTC 2006


> does it exist a simple way to import (or export) mediawiki
> to html or unformatted text?
>
> for html I mean tables and <a> tags, for text, the line break.
>
> I have to do this quite often, and is a pretty hard (long) work.

For export, try adding action=raw to the URL.

Eg: wget http://localhost/wiki/index.php?title=Main_Page&action=raw

I would also expect
http://localhost/wiki/index.php/Main_Page&action=raw to work but I get
a forbidden error (it seems to work on other wikis though)



More information about the MediaWiki-l mailing list