[Mediawiki-l] Passing template variables to extensions

Platonides Platonides at gmail.com
Sun Dec 23 18:23:26 UTC 2007


 >Raul< wrote:
> I've searched a lot about this topic but except a patch for 1.5 I not found
> any solution consistent.
> 
> The problem is I cannot pass parameters to an extension from a template:
> 
> Template:Any
> <myExtension>{{{1}}}</myExtension>
> 
> The parser is calling myExtensions before evaluate the template variables,
> getting the extension allways the value '{{{1}}}'.
> 
> I'm using 1.11.0, which aproach should I do?

Use a parserfunction.




More information about the MediaWiki-l mailing list