ok done, worked finally by escaping...

On 18.01.2015 01:24, Frank Baxmann wrote:
Hello,

I have a problem with an extension. There is a some $parser->setFunctionHook defined. The function of the hook uses fake named parameters, meaning that the parameters are caught by "func_get_args()", and the only parameter in the function is &$parser.

My problem with this is now, that I want to use "$parser->recursiveTagParse" in that function to expand a template, but when I dump the params I get the param string as "[[:template]]" instead of "{{:template}}, and of course recursiveTagParse don't give the needed result.

The second topic is, that I maybe need $frame to expand variables, but I did not get it working with fake named parameters.

Greetings

Frank Baxmann

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to