Clone wiki / HTML2Mediawiki

How to convert HTML to Mediawiki text

A simple html to wiki fragment looks like this:

        HTML2WikiConverter conv = new HTML2WikiConverter();
        String result = conv.toWiki(new ToWikipedia());
        assertEquals(result, "'''hello''world'''''");

Online tool

You can use the HTML to Wikipedia text converter online here:

The latest sources for the HTML to Wikipedia online tool are available here:

Because there are no specific Google Appengine API calls used, it should also work with other containers (i.e. Tomcat, Jetty,... in an intranet environment).