Good question.
I have two extensions that use the parser thus:

function getAppletOutput( $input, $args, $parser )

which contrasts with the wave function:
function waveRender($input, $argv, &$parser)  as copied directly from the file.

I just removed the ampersand to
function waveRender($input, $argv, $parser)
and now it's "almost" working. Now I get a flood of errors such as:

Use of undefined constant id - assumed 'id' in
C:\\Apache2.2\\htdocs\\mediawiki\\extensions\\GoogleWave\\GoogleWave.php
on line 38,...

I then went in and found all the arg[] values and put ticks around them.
It's now working. Seems to take a long time to load my wave, and I now
need to play with width, height, etc, but it appears to have been a
few "typos" in GoogleWave.php that prevented it from working.

Thanks
Jack

On Wed, Oct 7, 2009 at 1:24 AM, Micke Nordin <[email protected]> wrote:
>
> I suspect there is something wrong with you MediaWiki installation and/
> or your PHP installation as parameter 3 to waveRender is a reference
> to the parser object, that should be sent by the parser hook (by
> MediaWiki, that is). I have no idea as to why this doesn't work
> though... It is not surprising that you get no error message, because
> the problem is that the functions of the extension doesn't get called
> by the parser properly. Does other extensions with parser hooks work
> properly? Try to install any one of these extensions and see if you
> get the same error:
>
> http://www.mediawiki.org/wiki/Category:ParserFirstCallInit_extensions
>
> /Micke
><snip>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to