https://bugzilla.wikimedia.org/show_bug.cgi?id=20269
Summary: Pipe-trick doesn't work with empty template parameters
Product: MediaWiki
Version: unspecified
Platform: All
URL: http://en.wikipedia.org/wiki/User:Alogrin/Template:Test
OS/Version: All
Status: NEW
Keywords: parser
Severity: minor
Priority: Normal
Component: Templates
AssignedTo: [email protected]
ReportedBy: [email protected]
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).
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l