Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: for the plan.

Jump to: navigation, search


Draft Content
This page is currently under construction. Community members are encouraged to maintain the page, and make sure the information is accurate.

Converting HTML

Converting from HTML into mediawiki is actually very straight forward, as MediaWiki allows for the inclusion of HTML tags. However, this can make editing of the pages much more difficult. There are tools available to allow the conversion of HTML to particular wiki formats.

Online Conversion

Converting DocBook

This section will discuss ways in which existing DocBook source files can be converted into media wiki syntax.

Round Tripping
There is not a one to one mapping of tags to wiki markup, so some semantics may be lost in a round trip scenario.

DocBook XSL Stylesheets

There is work underway to provide a contribution to the DocBook Project on sourceforge to allow the use of the existing DocBook Project's stylesheets to generate the wiki content. The advantage here is that most all of the docbook tags are covered, and the appropriate templates can be overriden to provide additional custom wiki support.

These stylesheets are still a work in progress. Other options include:

  • DocBook to Wiki - a set of perl scripts that do a decent job of converting but only handle a limited subset of the DocBook elements.
Manual Clean
As with any conversion process, all of these will need some minor manual clean up.

Converting DITA

Back to the top