AW: [Mediawiki-l] Parsing wiki test in an extension
Heli Retzek
helmut.retzek at asak.at
Mon Dec 6 12:58:00 UTC 2004
did you test the speed, is there a significant delay - maybe the procedures
call itselfs recoursivly? (does $wgParser->internalParse($output, true);
call again your extension?)
xx HeliR
>
> I don't know if this is correct or even supposed to work but I've gotten
> my extension to work (i.e. process wiki text) using the following:
>
> function myExtension($input) {
> global $wgParser;
> //So some work and assign the result to $output
> $output = $wgParser->internalParse($output, true);
> return $output;
> }
>
More information about the MediaWiki-l
mailing list