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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 9083 - References don't hide under wrong #if
References don't hide under wrong #if
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Cite (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
http://ru.wikipedia.org/w/index.php?t...
:
Depends on: 12652
Blocks:
  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: ---


Attachments

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.


Navigation
Links