[Mediawiki-l] SmoothGallery with templates problem

Lane, Ryan Ryan.Lane at ocean.navo.navy.mil
Thu Jan 18 15:50:46 UTC 2007


> 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.

V/r,

Ryan Lane



More information about the MediaWiki-l mailing list