
It doesn't handle all markup, just link and headers, and you may encounter some issues with the way jspwiki handles page names. It uses regex rather than formats such as xml, so it simple but perhaps doesn't have as many versioning issues.
TWIKI VS MEDIAWIKI CODE
I made a simple importer, the code is pasted at PageCobbler.java. Is there a tool that will import content from mediawiki to jspwiki? In this case, MediaWiki requires a page named Template:name and JSPWiki requires a java class (derived from WikiPlugin) named name in it's class directory.

In WikiMedia you can use html or write a space at the start of a line to make the line preformatted. In order to prevent lines from being formatted by the browser and wiki code from being translated into html you can use preformatted texts (html: text). The following are unique to JSP wiki and must be implemented using HTML in Media Wiki: WikiWikiWeb ->, JSPWiki ->, Doc ->, Wikipedia ->, TWiki ->, Google ->, MeatballWiki ->, Edit -> Edit.jsp?page=%s

The following features of JSPWiki are very similar or equal to MediaWiki: MediaWiki is focused on being a great Wiki for projects such as Wikipedia, whereas Tiki is more of an out-of-the box Content Management System / general purpose wiki with all the features built-in. The following features of MediaWiki are not included by default in JSPWiki:

Instead of spaces it uses CamelCase, which means that every word starts with capitals. Article names # JspWiki exclusively accepts letters and digits in article names.
