Extension:Wiki2xml

What can this extension do?
Converts markup fragments or whole articles to XML and from XML to other stuff. See here how it works:

Installation
Download all the files from and put them into a "wiki2xml" folder inside your "extensions" folder. Add the following line in your LocalSettings.php: require_once ("extensions/wiki2xml/extension.php"); Lookup the README file for an alternative installation as cgi-bin script and configuration. The extension can then be accessed as "Special:Wiki2XML".

To download the files
If you have SubVersion installed then use the following command to download the files to directory "php" under the current directory: svn export http://svn.wikimedia.org/svnroot/mediawiki/trunk/wiki2xml/php/ See Subversion for more info.

Help
This extension is kind of quaint. For example some templates with tables aren't parsed right. Magnus Manske has put this extension on the back burner due to a lack of time. If you want to contribute to this extension, feel free to do so and join the discussion page.