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

bzimport added a project: Cite.Via ConduitNov 21 2014, 9:38 PM
bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz9083.
Kalan created this task.Via LegacyFeb 24 2007, 12:50 PM
bzimport added a comment.Via ConduitFeb 24 2007, 4:35 PM

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.

Add Comment