On 1/18/07, Lane, Ryan Ryan.Lane@ocean.navo.navy.mil wrote:
Sometimes, it's safe to call the parent parser back on the extension input, and sometimes, it's not. You could attempt $parser->replaceVariables( $text ); if things seem to work, then it's probably okay, but you might like to do some recursion testing to check nothing's going to die horribly and unexpectedly.
Another approach is to declare a second, local-scope parser - clone the $parser object passed, and see if that does it.
Rob Church
Awesome. The first approach worked perfectly. Thanks for the help.
For the original poster: Templates are now usable, as of version 1.0d.
Great! that was quick ... will try it out ASAP.
Thanks a lot! -- Pranav
V/r,
Ryan Lane
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l