Hi,
Is there any approved (i.e. non future breaking) way of finding out the stack of what transcluded the page. E.g.
"Top page":
{{:Cool template in state 1}}
"Cool template in state 1":
{{SubDisplay|Hello}}
"SubDisplay":
Do a function {{#myparsefn:{{{1}}}}}
I want to find out the name of "Cool template in state 1" from myparsefn (and preferably also the "Top page", though that is easy to get cos its $wgTitle). Does anyone know of an extension that does this correctly or have any pointers how I might achieve this? Basically I'd like to inspect the parser stack in a safe way...
Kind regards,
Alex