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 MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l