Open main menu

Extension:Wiki2xml

MediaWiki extensions manual
OOjs UI icon advanced.svg
Wiki2xml
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.

What can this extension do?Edit

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

InstallationEdit

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 filesEdit

If you have SubVersion installed then use the following command to download the files to directory "php" under the current directory:

 svn export https://phabricator.wikimedia.org/diffusion/SVN/browse/trunk/parsers/graveyard/wiki2xml/php/

See Subversion for more info.

HelpEdit

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 alsoEdit