Magnus Manske wrote in part:
This could be the basis for several wiki(pedia) software projects:
- Offline editor
- Reader, to be distributed on CD/DVD
- Wiki(pedia) apache module
In the short term, I think it would be nice to:
* Split off the PHP parser from the OutputPage class, into a PhpParser class. * Create another PHP class called WaikikiParser. This would call Waikiki, through whatever means are convenient. Ideally, it would be a statically linked PHP extension, apparently that's the only means available for efficiently calling C++ from PHP. * Allow people to pick which one they want to use in LocalSettings.php
So in Setup.php we'd have:
$wgParser = new $wgParserName;
And in OutputPage.php we'd have:
function addWikiText( $text ) { global $wgParser; $this->addHTML( $wgParser->parse( $text ) ); }
Just my opinion. I don't know if I will have time to implement this myself.
-- Tim Starling.