Last modified: 2008-02-27 03:57:10 UTC
On Wikibooks we use {{:Name}} for making dynanic printable versions. It works good, but we have a problem with the references. Example: http://de.wikibooks.org/wiki/Medizinische_Mikrobiologie:_Druckversion It seems that included refernces don't work.
A demonstration of this behavior can be seen on http://en.wikipedia.org/wiki/Wikipedia:Reference_Bug which uses the template Test:References. The <ref> and </ref> tags around a reference in a transcluded page will show as subscripted bracketed numeric links on the rendered page, but the references and text are not generated in the <references/> section of that page. Also see the macro it calls, http://en.wikipedia.org/wiki/Template:Test:Reference for the examples.
There is a workaround for this. If a parameter passed to the transcluded page has a <ref> and </ref> on it, that will show up in the calling page. It is only when <ref> and </ref> are on the transcluded page that it doesn't work.
Not surprisingly, if you transclude a <ref> and also include a <ref> directly, the transcluded tag shows second. {{TranscludedRef}} <ref>Normally Cited</ref> Would display as: [2] [1] Also, would this bug be dependant on Bug 4529 ?
Sorry, I meant similar to Bug 4529 ...
Yeah, in large part it's the same issue: parser hook stuff isn't done in the same pass as curly-brace stuff.
*** Bug 10343 has been marked as a duplicate of this bug. ***
Bug 4529 was closed as a duplicate of Bug 2257. Bug 2257 has a patch which is awaiting review. That patch might help this bug as well.