Last modified: 2013-11-16 20:58:30 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 T58562, the corresponding Phabricator task for complete and up-to-date bug report information.
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)
1.23.0
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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.

https://foo.com/bar{{#if:{{{foo|bar}}}|#foo}} 

results in 

https://foo.com/bar

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:
https://foo.com/bar{{#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.


Navigation
Links