Page MenuHomePhabricator

subst:PAGENAME in reference-URL doesn't work
Closed, DuplicatePublic

Description

Author: mike_wikipedia

Description:
It is possible to create a URL with the syntax [http://en.wikipedia.org/wiki/{{subst:PAGENAME}}] and get the correct link to the appropriate place.
However if this link is put within <ref> tags, that 'template' call is not parsed at all. It is however not the case that URLs, template calls and ref tags inherently dislikes each other as it still is possible to drop the subst: and get the intended behavior. That is, <ref>[http://en.wikipedia.org/wiki/{{PAGENAME}}]</ref> works as intended.

Please see e.g. http://http://sv.wiktionary.org/w/index.php?title=Wiktionary:Sandl%C3%A5dan&oldid=535712, and in particular the first "reference".


Version: unspecified
Severity: enhancement

Details

Reference
bz18417

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:33 PM
bzimport set Reference to bz18417.
bzimport added a subscriber: Unknown Object (MLST).
  • This bug has been marked as a duplicate of bug 2257 ***