Converting Various Markup to MediaWiki
1 Converting HTML
1.1 Using Perl on your own computer
Grab the HTML-WikiConverter, build it and follow the directions. You will need to supply the HTML file names on the command line and capture the output (the program writes to standard output) and then open a MediaWiki page for editing and paste the MediaWiki markup. Fairly painless unless you're working with a complex, multipage document.
NB: This coverter does not like
1.2 Using online tools
These are web pages (CGIs) which run the HTML-WikiConverter software, so any limitations of the above software apply to this as well. However, they save you the trouble of getting the code and building it.
- This is the best converter, since it lets you paste a URL or the HTML: http://diberri.dyndns.org/wikipedia/html2wiki/index.html
- These require you to paste the HTML:
2 Converting TWiKi
Use Twiki2mediawiki to convert TWiKi pages to MediaWiki markup. Once converted, use copy and paste to move the new markup into the pages after opening the page's edit window.
3 Converting Latex
We're making modifications to Latex2MediaWiki.py so that it will support our particular latex styles. This script can be found in our subversion archive at http://scm.opendap.org:8090/trac/browser/trunk/Doc/Latex2wiki.py.
4 More info...
See the page on WikiPedia about conversions like Word to MediaWiki, CSV to MediaWiki, et c.