[Mediawiki-l] Passing template variables to extensions

Jean-Lou Dupont jeanlou.dupont at gmail.com
Thu Dec 20 12:21:32 UTC 2007


Hi - you can have a look at how I solved this sort of problem by looking at
the parser function ''#shtml'' in extension
Extension:SecureHTML<http://www.mediawiki.org/wiki/Extension:SecureHTML>
.

Jean-Lou.


On Dec 20, 2007 5:17 AM, >Raul< <clinisbut at gmail.com> 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?
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>


More information about the MediaWiki-l mailing list