https://bugzilla.wikimedia.org/show_bug.cgi?id=23192

--- Comment #1 from Felix Pahl <fp...@web.de> 2010-04-14 14:37:40 UTC ---
A further detail:

Usually, if more than one #default is provided, the last one is used (in
contrast to other keys, where the first instance is used):
{{#switch:a|b=c|#default=x|#default=y|e=f|g=h}} yields y.

However, a #default without a value causes the last value to be used (see
above) even if it is followed by a proper #default with value:
{{#switch:a|b=c|#default|#default=y|e=f|g=h}} yields h, not y.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to