mwlib is a Python library for parsing MediaWiki articles. It is currently aimed at developers, who have a need to somehow handle MediaWiki articles.
You need to have setuptools/easy_install installed. Installation should be as easy as typing:
$ easy_install mwlib
If you don't have setuptools installed, download the source package, unpack it and run:
$ python setup.py install
(this will also install setuptools)
You can also install the latest mwlib tip with:
$ easy_install mwlib==dev
The commands (i.e. command-line tools) provided by mwlib are described in docs/commands.txt.
The format of configuration files is described in docs/configfiles.txt.
See example_conf.py for an example configuration.
What's New in This Release: [ read full changelog ]
· remove xhtmlwriter
· remove docbookwriter
· fix_wikipedia_siteinfo for kdb, ltg and xmf
· remove zipwiki
· implement safesubst
· match noinclude and onlyinclude tags with whitespace
· bail out when running setup.py with an unsupported python version