[Mediawiki-l] parse wikitext in extension

FxParlant f-x.p at laposte.net
Wed Feb 16 19:40:09 UTC 2005


Hi,

I have a fragment of wikitext in an extension, and I'm desperately 
trying to get it parsed.

My extension works perfectly, what I just don't know is :
__how to convert my wikitext to html__ ??

Can someone tell me how to do that. It must be the simplest thing but I 
can't find the correct class and the correct method.


EXAMPLE:
*****************

$mytext= "=== MyTitle ===";
$mytext .= "some more text, with [[links]]";

$output = turn_That_To_Html($mytext); // <-- HERE IS MY PROBLEM
return output;
*****************


Thanks for any hint,

François





More information about the MediaWiki-l mailing list