Page MenuHomePhabricator

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

Details

Reference
bz9083

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.