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

Description

{{#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
URL: http://ru.wikipedia.org/w/index.php?title=%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD%3A%D0%9D%D0%B5%D1%82_%D0%BF%D0%B5%D1%80%D0%B5%D0%B2%D0%BE%D0%B4%D0%B0&diff=3239634&oldid=3239573

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