Last modified: 2009-08-24 19:18:10 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 T22269, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20269 - Pipe-trick doesn't work with empty template parameters
Pipe-trick doesn't work with empty template parameters
Status: RESOLVED DUPLICATE of bug 15704
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
unspecified
All All
: Normal minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/User:Alo...
: parser
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-15 21:28 UTC by Alogrin
Modified: 2009-08-24 19:18 UTC (History)
1 user (show)

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


Attachments

Description Alogrin 2009-08-15 21:28:25 UTC
I wanted to create an "adapter" to use a template, which has pipe-trick structures, like {{{Domain|{{{Lang}}}}}}. To handle a general situation, I always needed to pass all parameters, though some of them might have empty values, like "|Lang=english| Domain= }}" or "|Lang=english| Domain={{something}} }}". It's appeared, that at the moment, when a template resolver identifies "Domain" parameter in the call, it raises a flag, that "Domain" value exist, so it shouldn't look any more in the "second leg" of a pipe {{{Domain|{{{Lang}}}}}}. The only option so far - is to get rid of all pipe-tricks in the used template and use "#if:" instead (which works).
Comment 1 Alexandre Emsenhuber [IAlex] 2009-08-24 19:18:10 UTC

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

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


Navigation
Links