I would try hacking MediaWiki's code a little, but I figured out it would be unnecessary if I can get an independent parser.
Can anyone help me with this?
Thanks.
I would try hacking MediaWiki's code a little, but I figured out it would be unnecessary if I can get an independent parser.
Can anyone help me with this?
Thanks.
It's actually an incredibly difficult format to parse. You can try to separate out the parser component from media wiki (as it is also php), but it is a tangled mess. I've seen a few partial standalone ones that do a nearly reasonable job for a very limited subset of the markup.
If you happen to implement one, or refactor the current wikipedia one let me know as it could be quite useful.