The easiest for it is probably to write a mediawiki writer module for WikiStream (http://extensions.xwiki.org/xwiki/bin/view/Extension/WikiStream+Module). The idea is that you just you put XWiki instance or XAR modules as input and your meiawiki module as output and run WikiStream. Your module will receive standard "events" that you will convert into whatever you want (in this case a mediawiki dump or REST calls to a mediawiki instance).
Best is probably to start from XAR writer module in https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwiki-platform-wikistream/xwiki-platform-wikistream-streams/xwiki-platform-wikistream-stream-xar (this contains both XAR writer and reader). WikiStream is pretty young and did not had time to write much documentation yet but feel free to ask all questions you have. On Mon, May 12, 2014 at 11:28 PM, walid yaich <[email protected]> wrote: > Hi, > > I would like to implement a tool to convert "xwiki xml dump" to "mediawiki > xml dump", any help about which java lib to use ? some link if possible ;) > > Thanks in advance :) > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs -- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

