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

       Web browser: ---
            Bug ID: 57903
           Summary: Add support for ordinal numbers
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: CLDR
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: rkald...@wikimedia.org
                CC: alolita.sha...@gmail.com, kartik.mis...@gmail.com,
                    niklas.laxst...@gmail.com, run...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---

Right now, MediaWiki has no way to localize '1st', '2nd', '3rd', etc. The CLDR
database includes rules for creating ordinal numbers but these rules are not
currently extracted or utilized by the cldr extension.

The rules are ruleset type="digits-ordinal-indicator" in core/common/rbnf. Here
is a sample for English:

<ruleset type="digits-ordinal-indicator" access="private">
    <rbnfrule value="0">th;</rbnfrule>
    <rbnfrule value="1">st;</rbnfrule>
    <rbnfrule value="2">nd;</rbnfrule>
    <rbnfrule value="3">rd;</rbnfrule>
    <rbnfrule value="4">th;</rbnfrule>
    <rbnfrule value="20">→→;</rbnfrule>
    <rbnfrule value="100">→→;</rbnfrule>
</ruleset>

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