Last modified: 2008-02-27 03:49:28 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T11083, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9083 - References don't hide under wrong #if
References don't hide under wrong #if
Product: MediaWiki extensions
Classification: Unclassified
Cite (Other open bugs)
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on: 12652
  Show dependency treegraph
Reported: 2007-02-24 12:50 UTC by Kalan
Modified: 2008-02-27 03:49 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Kalan 2007-02-24 12:50:49 UTC
{{#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.
Comment 1 Rob Church 2007-02-24 16:35:15 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.