Page MenuHomePhabricator

References don't hide under wrong #if
Closed, ResolvedPublic


{{#if:{{{1|}}}|<ref>text 1</ref>|<ref>text 2</ref>}}

<references />

A problem is that either {{{1}}} is defined or not, you see both text 1 and text 2 in
references list. Links to the references are displayed correctly.

Version: unspecified
Severity: major



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:38 PM
bzimport added a project: Cite.
bzimport set Reference to bz9083.
bzimport added a subscriber: Unknown Object (MLST).

robchur wrote:

I imagine this is to do with the fact that both portions are parsed regardless
of how the conditional evaluates, and the Cite extension records both in
preparation for output.