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

       Web browser: ---
           Summary: Counterintuitive restrictions on position of #default
                    case in #switch:
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: ParserFunctions
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Enter:

<{{#switch: foo | bar = bar | #default | baz = quok }}>

Expected: 

<quok>

Actual:

<>

The #default delimiter is only recognised as such if it is the last in a
duplicate stack.


-- 
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

Reply via email to