Last modified: 2014-02-13 15:35:36 UTC
Hi, I found this behaviour when dealing with a Semantic MediaWiki parser function (subobject). I imagine it might affect other extensions as well. Example: Template Store: {{#subobject:Program |Has Name={{{1}}} |Has URL={{{2}}} }} Page: {{Store|Firefox|http://download.mozilla.org/?product=firefox-27.0&os=win&lang=ca}} = seems to break the {{{2}}} parameter processing. Reference: https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/193
That is the expected behavior – this template calls expands to the template 'Store' with two parameters: 1 = Firefox http://download.mozilla.org/?product = firefox-27.0&os=win&lang=ca While unwanted in this case, this is the expected behavior. You can work around this by explicitly passing the second parameter (note the '2='): {{Store|Firefox|2=http://download.mozilla.org/?product=firefox-27.0&os=win&lang=ca}}
Thanks! I see using named parameters could address it as well!