From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual
Crystal Clear action run.png

Release status: beta

Implementation Data extraction
Description Converts markup fragments or whole articles to XML and from XML to other stuff.
Author(s) Magnus Manske
Latest version r56074 (2009-09-08)
MediaWiki 1.6+
License GPL
Download Subversion [Help]
Browse source code

Translate the Wiki2xml extension if it is available at translatewiki.net

Check usage and version matrix; code metrics

What can this extension do?[edit | edit source]

Converts markup fragments or whole articles to XML and from XML to other stuff. See here how it works: [1]

Installation[edit | edit source]

Download all the files from [2] 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[edit | edit source]

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/parsers/graveyard/wiki2xml/php/

See Subversion for more info.

Help[edit | edit source]

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.

See also[edit | edit source]