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?
Hi - you can have a look at how I solved this sort of problem by looking at the parser function ''#shtml'' in extension Extension:SecureHTMLhttp://www.mediawiki.org/wiki/Extension:SecureHTML .
Jean-Lou.
On Dec 20, 2007 5:17 AM, >Raul< clinisbut@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@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
I'll take a look
On Dec 20, 2007 1:21 PM, Jean-Lou Dupont jeanlou.dupont@gmail.com wrote:
Hi - you can have a look at how I solved this sort of problem by looking at the parser function ''#shtml'' in extension Extension:SecureHTMLhttp://www.mediawiki.org/wiki/Extension:SecureHTML .
Jean-Lou.
On Dec 20, 2007 5:17 AM, >Raul< clinisbut@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@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
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.
mediawiki-l@lists.wikimedia.org