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

           Summary: Selective expansion of expressions in {{plural:}}
           Product: MediaWiki
           Version: wikimedia-deployment
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Templates
        AssignedTo: [email protected]
        ReportedBy: [email protected]


The {{plural:}} magic word will expand some expressions, but not others.  This
is a little confusing, especially as the advertised use of expressions (x mod
10, for Russian-like languages) isn't supported by default.

Examples:

{{plural:0|is|are}} → are (OK)
{{plural:1*1|is|are}} → is (OK)
{{plural:21 mod 10|is|are}} → are (UNEXPECTED)
{{plural:{{#expr:21 mod 10}}|is|are}} → is (OK)
{{plural:1|is|are}} → is (OK)
{{plural:2|is|are}} → are (OK)

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