From: Frazer Irving frazer@bulletproof.net.au
I'm playing around with writing my own extension, and I would like it to accept wikitext as input and return HTML (as well as some other stuff). For example
<extendy> [[Click me and die]] </extendy>
Your best bet is to look at other examples.
(all below is PHP) 0) Pick a file for your extension, and include it in LocalSettings.php 1) First you must register a function name with the extension tag 2) write that function 3) wiki text comes into the function 4) whatever you return from the function should be valid HTML, because it will be spit out on the client browser.
:::: Society for Rampant Chaos endorses Bush! http://rampantchaos.org :::: Jan Steinman http://www.Bytesmiths.com/Item/99-0590-21