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;
}