On Jan 2, 2005, at 7:37 PM, Robert Jones wrote:
Thanks Biron. I made my extension, and it works apart from the fact that the text inside isn't parsed into wiki format. I've experimented with $wgOut but haven't been able to figure it out, can you/anyone advise?
Look at OutputPage::addWikiText and try doing similar.
Note that outputting raw HTML may be dangerous on a public wiki, as arbitrary JavaScript code may be inserted which captures users' login tokens and sends them to an offsite harvester, or uses ActiveX plugins or other possible security exploits to attack vulnerable browsers.
-- brion vibber (brion @ pobox.com)