Author: magnusrk+wiki
Description:
Say I have Template:Custom with content:
<mycustomtag>Param1 = {{{1}}}</mycustomtag>
I call it on another page using {{Custom|parameter}}
This results in the parser giving the hook's function "Param1 = {{{1}}}" as input. Since extension
output isn't parsed further at all, and the extension itself has no way of recovering it (the
recursion stack is inaccessible), the parameter is lost.
Possible solutions:
- Substitute parameters in parser hook input
- Give extensions access to the stack containing the parameters
I imagine the second would be a huge mess, so I would greatly prefer the first alternative.
Version: 1.11.x
Severity: normal