Home/Mwlib        page discussion        wiki discussion edit history     [Images:TURN OFF] [Connection:go offline]
"Mediawiki mirroring and synchronisation"

Mediawiki mirroring and synchronisation - mirroring - moving - Offline mediawiki (mvs, MWEclipse) - API - Mwlib - [Edit]

[edit] 1 Mwlib

http://code.pediapress.com/wiki/wiki/mwlib

[edit] 2 Questions and discussion

Is it possible to 'round trip' a selection of wiki pages using mwlib? I.e. can I go from Mediawiki text to Parse Tree, and then back to mediawiki text?

I guess the Parse Tree format is documented somewhere, but I couldn't find it. (I've been looking at the the wiki pages, and the short example on http://code.pediapress.com/wiki/wiki/mwlib.)

Would it be easy to go from the Parse Tree to xml, and then back to mediawiki text? (This might be obvious for a python programmer.)

http://groups.google.com/group/mwlib/browse_thread/thread/7425f154077d2f3b#

Answer from Volker (april 2009):

currently it is not possible to convert the parse tree back to mediawiki markup. To achieve this, a mediawiki writer had to be written. Probably this is not too hard but notheless tedious and a couple of details will be tricky. If you are interested in learning Python this might be a good exercise ;)

[edit] 3 Links

Home/Mwlib, rev=9913, user=Bjoern, time=2009-05-30T23:16:47Z
Page: Mwlib, server-cache-status=cached, images=, connection=, client-cache=no