On 18/02/12 17:41, Hannes Kirsman wrote:
Hy!
sumanah, from the MWiki forums suggested I ask for help here.
I'm building an application and would like add wiki support to it. So I was
wondering, how it would be possible to parse a wiki text with MediaWiki?
--
Hannes
What kind of support do you want?
Basically you would need the Parser object, and call parse() on it, but
you will need to begin pulling a lot of dependencies. You need a Title
for the parsed page, the links are stored in a LinkHolder, templates
fetch the revisions... so you will need to go into mediawiki and start
removing blocks of code or end up with a full MediaWiki.
You can also try some alternate parser.
http://www.mediawiki.org/wiki/Alternative_parsers