[Mediawiki-l] parse wikitext in extension

Muzaffer Ozakca mozakca at indiana.edu
Wed Feb 16 19:54:57 UTC 2005


Do a search in the archives. There was a working solution provided. Use
extension wikitext parsing etc. as keywords.


> -----Original Message-----
> From: mediawiki-l-bounces at Wikimedia.org [mailto:mediawiki-l-
> bounces at Wikimedia.org] On Behalf Of FxParlant
> Sent: Wednesday, February 16, 2005 2:40 PM
> To: mediawiki-l at Wikimedia.org
> Subject: [Mediawiki-l] parse wikitext in extension
> 
> 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
> 
> 
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
> 





More information about the MediaWiki-l mailing list