Thanks for the reply. I did correct that but that does not solve the
problem. I created a small page which has only one line
{{#SayHello:John}}
I was expecting the page to display "Hello John" But instead it displayed
the same line. I am not sure why is this happening.
Alok
On Fri, Jul 30, 2010 at 10:05 PM, Ross McKay <[email protected]> wrote:
> Alok Watve wrote:
>
>>I am trying to write the simplest extension using a parser function
>>[...]
>
> Remove the last two lines:
>>return true;
>>?>
>
> You "return" when passing a value back out of a function; you are not
> "in" a function at this point.
>
> The trailing ?> is optional, and generally not recommended in a PHP
> script included by other scripts, so might as well leave it out :)
> --
> Ross McKay, Toronto, NSW Australia
> "Let the laddie play wi the knife - he'll learn"
> - The Wee Book of Calvin
>
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l