Last modified: 2013-11-16 20:58:30 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 56562 - conditional with initial # renders list regardless of context
conditional with initial # renders list regardless of context
Status: RESOLVED DUPLICATE of bug 12974
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2013-11-04 13:25 UTC by Carl Fürstenberg
Modified: 2013-11-16 20:58 UTC (History)
2 users (show)

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


Description Carl Fürstenberg 2013-11-04 13:25:54 UTC
When for example trying to create a link with conditional hash linkage (#foo), the parser fails to do this.{{#if:{{{foo|bar}}}|#foo}} 

results in

1. foo

Trying to place the # in <nowiki> makes #foo render outside the link.

Only tested in preview.
Comment 1 Andre Klapper 2013-11-08 15:07:45 UTC
Wondering if bug 12974 is related.
Comment 2 db [inactive,noenotif] 2013-11-16 20:58:30 UTC
It is not related, it is a duplicate

But in this case the following code should work:{{#if:{{{foo|bar}}}|&#35;foo}}

*** This bug has been marked as a duplicate of bug 12974 ***

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