Last modified: 2010-05-15 15:50:57 UTC
<wikicode> [[Wikipedia:{{PAGENAME}}|]] </wikicode> results in unparsed plain text while PAGENAME is "Stonehenge" instead of a link to Wikipedia (in this example): <output> [[Wikipedia:Stonehenge|]] </output> (but thats for any other page name too)
I would imagine this is because the "pipe trick" (e.g. the [[Foo|]] behaviour) is dealt with during the pre-save transform, whereas {{PAGENAME}} isn't expanded until parse time.
Use direct notation: [[Wikipedia:{{PAGENAME}}|{{PAGENAME}}]]
You can expand. [[Wikipedia:NAME|]] is just a shortuct, you can use [[Wikipedia:NAME|NAME]]
*** This bug has been marked as a duplicate of bug 8785 ***