Difference between revisions of "Plural/Mediawiki plural rules"

From translatewiki.net
Jump to navigation Jump to search
(improve links)
(change links to git)
Line 41: Line 41:
 
| [[Portal:Anp|{{#languagename:anp}}]] || anp || || Default ||
 
| [[Portal:Anp|{{#languagename:anp}}]] || anp || || Default ||
 
|-
 
|-
| [[Portal:Ar|{{#languagename:ar}}]] || ar || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageAr.php;h=95e763924880a1f2491ea4ffe8b4b098a9c2ef34;hb=HEAD arabic] || 0<br /> 1<br /> 2<br /> mod 100 in 3..10<br /> mod 100 in 11..99<br /> other || 0<br /> 1<br /> 2<br /> 3..10, 103..110, 203..210...<br /> 11..99, 111..199, 211..299...<br /> 100..102, 200..202, 300..302...
+
| [[Portal:Ar|{{#languagename:ar}}]] || ar || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageAr.php;hb=HEAD arabic] || 0<br /> 1<br /> 2<br /> mod 100 in 3..10<br /> mod 100 in 11..99<br /> other || 0<br /> 1<br /> 2<br /> 3..10, 103..110, 203..210...<br /> 11..99, 111..199, 211..299...<br /> 100..102, 200..202, 300..302...
 
|-
 
|-
 
| [[Portal:Arc|{{#languagename:arc}}]] || arc || || Default ||
 
| [[Portal:Arc|{{#languagename:arc}}]] || arc || || Default ||
Line 65: Line 65:
 
| [[Portal:Ay|{{#languagename:ay}}]] || ay || || Default ||
 
| [[Portal:Ay|{{#languagename:ay}}]] || ay || || Default ||
 
|-
 
|-
| [[Portal:Az|{{#languagename:az}}]] || az || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageAz.php;h=947e656010dd483f63b66e9b02d67c1cd8248270;hb=HEAD zero] || other || 0, 1...
+
| [[Portal:Az|{{#languagename:az}}]] || az || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageAz.php;hb=HEAD zero] || other || 0, 1...
 
|-
 
|-
 
| [[Portal:Ba|{{#languagename:ba}}]] || ba || || Default ||
 
| [[Portal:Ba|{{#languagename:ba}}]] || ba || || Default ||
Line 77: Line 77:
 
| [[Portal:Bcl|{{#languagename:bcl}}]] || bcl || || Default ||
 
| [[Portal:Bcl|{{#languagename:bcl}}]] || bcl || || Default ||
 
|-
 
|-
| [[Portal:Be|{{#languagename:be}}]] || be || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageBe_tarask.php;h=0e07a71cd64bc1f7743e7cef7a489ef069735285;hb=HEAD Rule K] || n mod 10 is 1 and n mod 100 is not 11<br /> n mod 10 in 2..4 and n mod 100 not in 12..14<br /> n mod 10 is 0 or n mod 10 in 5..9 or n mod 100 in 11..14<br /> || 1, 21, 31, 41, 51, 61...<br /> 2-4, 22-24, 32-34...<br /> 0, 5-20, 25-30, 35-40...
+
| [[Portal:Be|{{#languagename:be}}]] || be || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageBe_tarask.php;hb=HEAD Rule K] || n mod 10 is 1 and n mod 100 is not 11<br /> n mod 10 in 2..4 and n mod 100 not in 12..14<br /> n mod 10 is 0 or n mod 10 in 5..9 or n mod 100 in 11..14<br /> || 1, 21, 31, 41, 51, 61...<br /> 2-4, 22-24, 32-34...<br /> 0, 5-20, 25-30, 35-40...
 
|-
 
|-
 
| [[Portal:Bew|{{#languagename:bew}}]] || bew || || Default ||
 
| [[Portal:Bew|{{#languagename:bew}}]] || bew || || Default ||
Line 83: Line 83:
 
| [[Portal:Bfq|{{#languagename:bfq}}]] || bfq || || Default ||
 
| [[Portal:Bfq|{{#languagename:bfq}}]] || bfq || || Default ||
 
|-
 
|-
| [[Portal:Bg|{{#languagename:bg}}]] || bg || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageBg.php;h=9ccb9a85bbf651145f09fe311c0964c3aa7724c9;hb=HEAD default] || Default ||
+
| [[Portal:Bg|{{#languagename:bg}}]] || bg || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageBg.php;hb=HEAD default] || Default ||
 
|-
 
|-
| [[Portal:Bho|{{#languagename:bh}}]] || bho || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageBh.php?view=log one-zero] || <=1<br /> other || 0, 1<br /> 2, 3...
+
| [[Portal:Bho|{{#languagename:bh}}]] || bho || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageBh.php;hb=HEAD one-zero] || <=1<br /> other || 0, 1<br /> 2, 3...
 
|-
 
|-
 
| [[Portal:Bi|{{#languagename:bi}}]] || bi || || Default ||
 
| [[Portal:Bi|{{#languagename:bi}}]] || bi || || Default ||
Line 105: Line 105:
 
| [[Portal:Brh|{{#languagename:brh}}]] || brh || || Default ||
 
| [[Portal:Brh|{{#languagename:brh}}]] || brh || || Default ||
 
|-
 
|-
| [[Portal:Bs|{{#languagename:bs}}]] || bs || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageBs.php?view=log Rule] || ||
+
| [[Portal:Bs|{{#languagename:bs}}]] || bs || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageBs.php;hb=HEAD Rule] || ||
 
|-
 
|-
| [[Portal:Cs|{{#languagename:cs}}]] || cs || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageCs.php?view=log Rule] || ||
+
| [[Portal:Cs|{{#languagename:cs}}]] || cs || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageCs.php;hb=HEAD Rule] || ||
 
|-
 
|-
| [[Portal:Cu|{{#languagename:cu}}]] || cu || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageCu.php?view=log Rule] || ||
+
| [[Portal:Cu|{{#languagename:cu}}]] || cu || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageCu.php;hb=HEAD Rule] || ||
 
|-
 
|-
| [[Portal:Cy|{{#languagename:cy}}]] || cy || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageCy.php?view=log Rule Q] || 0<br /> 1<br /> 2<br /> 3<br /> 6<br /> other || 0<br /> 1<br /> 2<br /> 3<br /> 6<br /> 4, 5, 7, 8...
+
| [[Portal:Cy|{{#languagename:cy}}]] || cy || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageCy.php;hb=HEAD Rule Q] || 0<br /> 1<br /> 2<br /> 3<br /> 6<br /> other || 0<br /> 1<br /> 2<br /> 3<br /> 6<br /> 4, 5, 7, 8...
 
|-
 
|-
| [[Portal:Dsb|{{#languagename:dsb}}]] || dsb || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageDsb.php?view=log Rule] || ||
+
| [[Portal:Dsb|{{#languagename:dsb}}]] || dsb || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageDsb.php;hb=HEAD Rule] || ||
 
|-
 
|-
 
| [[Portal:En|{{#languagename:en}}]] || en || || 1<br /> other || 1<br /> 0, 2, 3...
 
| [[Portal:En|{{#languagename:en}}]] || en || || 1<br /> other || 1<br /> 0, 2, 3...
 
|-
 
|-
| [[Portal:Eo|{{#languagename:eo}}]] || eo || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageEo.php?view=log default] || Default ||
+
| [[Portal:Eo|{{#languagename:eo}}]] || eo || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageEo.php;hb=HEAD default] || Default ||
 
|-
 
|-
| [[Portal:Et|{{#languagename:et}}]] || et || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageEt.php?view=log default] || Default ||
+
| [[Portal:Et|{{#languagename:et}}]] || et || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageEt.php;hb=HEAD default] || Default ||
 
|-
 
|-
| [[Portal:Fi|{{#languagename:fi}}]] || fi || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageFi.php?view=log default] || Default ||
+
| [[Portal:Fi|{{#languagename:fi}}]] || fi || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageFi.php;hb=HEAD default] || Default ||
 
|-
 
|-
| [[Portal:Fr|{{#languagename:fr}}]] || fr || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageFr.php?view=markup one-zero] || <=1<br /> other || 0, 1<br /> 2, 3...
+
| [[Portal:Fr|{{#languagename:fr}}]] || fr || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageFr.php;hb=HEAD one-zero] || <=1<br /> other || 0, 1<br /> 2, 3...
 
|-
 
|-
| [[Portal:Ga|{{#languagename:ga}}]] || ga || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageGa.php?view=log Rule H] || 1<br /> 2<br /> 3..6<br /> 7..10<br /> other || 1<br /> 2<br /> 3..6<br /> 7..10<br /> 11, 12...
+
| [[Portal:Ga|{{#languagename:ga}}]] || ga || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageGa.php;hb=HEAD Rule H] || 1<br /> 2<br /> 3..6<br /> 7..10<br /> other || 1<br /> 2<br /> 3..6<br /> 7..10<br /> 11, 12...
 
|-
 
|-
| [[Portal:Gan|{{#languagename:gan}}]] || gan || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageGan.php?view=log default] || Default ||
+
| [[Portal:Gan|{{#languagename:gan}}]] || gan || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageGan.php;hb=HEAD default] || Default ||
 
|-
 
|-
| [[Portal:Gd|{{#languagename:gd}}]] || gd || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageGd.php?view=log Rule X] || 1<br /> 2<br /> 11<br /> 12<br /> 3..10, 13..19<br /> 0, 20.. || 1<br /> 2<br /> 11<br /> 12<br /> 3..10, 13..19<br /> 0, 20..
+
| [[Portal:Gd|{{#languagename:gd}}]] || gd || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageGd.php;hb=HEAD Rule X] || 1<br /> 2<br /> 11<br /> 12<br /> 3..10, 13..19<br /> 0, 20.. || 1<br /> 2<br /> 11<br /> 12<br /> 3..10, 13..19<br /> 0, 20..
 
|-
 
|-
| [[Portal:Gv|{{#languagename:gv}}]] || gv || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageGv.php?view=log Rule] || ||
+
| [[Portal:Gv|{{#languagename:gv}}]] || gv || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageGv.php;hb=HEAD Rule] || ||
 
|-
 
|-
| [[Portal:He|{{#languagename:he}}]] || he || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageHe.php?view=log Rule] || 1<br /> 2<br /> other || 1<br /> 2<br /> 0, 3..
+
| [[Portal:He|{{#languagename:he}}]] || he || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageHe.php;hb=HEAD Rule] || 1<br /> 2<br /> other || 1<br /> 2<br /> 0, 3..
 
|-
 
|-
| [[Portal:Hi|{{#languagename:hi}}]] || hi || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageHi.php?view=log one-zero] || <=1<br /> other || 0, 1<br /> 2, 3...
+
| [[Portal:Hi|{{#languagename:hi}}]] || hi || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageHi.php;hb=HEAD one-zero] || <=1<br /> other || 0, 1<br /> 2, 3...
 
|-
 
|-
| [[Portal:Hr|{{#languagename:hr}}]] || hr || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageHr.php?view=log Rule] || ||
+
| [[Portal:Hr|{{#languagename:hr}}]] || hr || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageHr.php;hb=HEAD Rule] || ||
 
|-
 
|-
| [[Portal:Hsb|{{#languagename:hsb}}]] || hsb || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageHsb.php?view=log Rule] || ||
+
| [[Portal:Hsb|{{#languagename:hsb}}]] || hsb || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageHsb.php;hb=HEAD Rule] || ||
 
|-
 
|-
| [[Portal:Hu|{{#languagename:hu}}]] || hu || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageHu.php?view=log default] || Default ||
+
| [[Portal:Hu|{{#languagename:hu}}]] || hu || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageHu.php;hb=HEAD default] || Default ||
 
|-
 
|-
| [[Portal:Hy|{{#languagename:hy}}]] || hy || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageHy.php?view=log one-zero] || <=1<br /> other || 0, 1<br /> 2, 3...
+
| [[Portal:Hy|{{#languagename:hy}}]] || hy || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageHy.php;hb=HEAD one-zero] || <=1<br /> other || 0, 1<br /> 2, 3...
 
|-
 
|-
| [[Portal:Iu|{{#languagename:iu}}]] || iu || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageIu.php?view=log default] || Default ||
+
| [[Portal:Iu|{{#languagename:iu}}]] || iu || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageIu.php;hb=HEAD default] || Default ||
 
|-
 
|-
| [[Portal:Ja|{{#languagename:ja}}]] || ja || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageJa.php?view=log default] || Default ||
+
| [[Portal:Ja|{{#languagename:ja}}]] || ja || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageJa.php;hb=HEAD default] || Default ||
 
|-
 
|-
| [[Portal:Kaa|{{#languagename:kaa}}]] || kaa || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageKaa.php?view=log default] || Default ||
+
| [[Portal:Kaa|{{#languagename:kaa}}]] || kaa || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageKaa.php;hb=HEAD default] || Default ||
 
|-
 
|-
| [[Portal:Kk|{{#languagename:kk}}]] || kk || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageKk.php?view=log default] || Default ||
+
| [[Portal:Kk|{{#languagename:kk}}]] || kk || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageKk.php;hb=HEAD default] || Default ||
 
|-
 
|-
| [[Portal:Km|{{#languagename:km}}]] || km || || Default ||
+
| [[Portal:Km|{{#languagename:km}}]] || km || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageKm.php;hb=HEAD default] || Default ||
 
|-
 
|-
| [[Portal:Ksh|{{#languagename:ksh}}]] || ksh || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageKsh.php?view=log Rule U] || 0<br /> 1<br /> other || 0<br /> 1<br /> 2, 3, 4...
+
| [[Portal:Ksh|{{#languagename:ksh}}]] || ksh || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageKsh.php;hb=HEAD Rule U] || 0<br /> 1<br /> other || 0<br /> 1<br /> 2, 3, 4...
 
|-
 
|-
| [[Portal:Ku|{{#languagename:ku}}]] || ku || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageKu.php?view=log default] || Default ||
+
| [[Portal:Ku|{{#languagename:ku}}]] || ku || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageKu.php;hb=HEAD default] || Default ||
 
|-
 
|-
| [[Portal:La|{{#languagename:la}}]] || la || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageLa.php?view=log default] || Default ||
+
| [[Portal:La|{{#languagename:la}}]] || la || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageLa.php;hb=HEAD default] || Default ||
 
|-
 
|-
| [[Portal:Ln|{{#languagename:ln}}]] || ln || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageLn.php?view=markup one-zero] || <=1<br /> other || 0, 1<br /> 2, 3...
+
| [[Portal:Ln|{{#languagename:ln}}]] || ln || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageLn.php;hb=HEAD one-zero] || <=1<br /> other || 0, 1<br /> 2, 3...
 
|-
 
|-
| [[Portal:Lt|{{#languagename:lt}}]] || lt || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageLt.php?view=log Rule J] || n mod 10 is 1 and n mod 100 not in 11..19<br /> n mod 10 in 2..9 and n mod 100 not in 11..19<br /> other || 1, 21, 31...<br /> 2-9, 22-29, 32-39...<br /> 0, 10-20, 30, 40...
+
| [[Portal:Lt|{{#languagename:lt}}]] || lt || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageLt.php;hb=HEAD Rule J] || n mod 10 is 1 and n mod 100 not in 11..19<br /> n mod 10 in 2..9 and n mod 100 not in 11..19<br /> other || 1, 21, 31...<br /> 2-9, 22-29, 32-39...<br /> 0, 10-20, 30, 40...
 
|-
 
|-
| [[Portal:Mg|{{#languagename:mg}}]] || mg || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageMg.php?view=markup one-zero] || <=1<br /> other || 0, 1<br /> 2, 3...
+
| [[Portal:Mg|{{#languagename:mg}}]] || mg || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageMg.php;hb=HEAD one-zero] || <=1<br /> other || 0, 1<br /> 2, 3...
 
|-
 
|-
| [[Portal:Ml|{{#languagename:ml}}]] || ml || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageMl.php?view=log default] || Default ||
+
| [[Portal:Ml|{{#languagename:ml}}]] || ml || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageMl.php;hb=HEAD default] || Default ||
 
|-
 
|-
| [[Portal:My|{{#languagename:my}}]] || my || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageMy.php?view=log default] || Default ||
+
| [[Portal:My|{{#languagename:my}}]] || my || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageMy.php;hb=HEAD default] || Default ||
 
|-
 
|-
| [[Portal:Nso|{{#languagename:nso}}]] || nso || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageNso.php?view=markup one-zero] || <=1<br /> other || 0, 1<br /> 2, 3...
+
| [[Portal:Nso|{{#languagename:nso}}]] || nso || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageNso.php;hb=HEAD one-zero] || <=1<br /> other || 0, 1<br /> 2, 3...
 
|-
 
|-
| [[Portal:Os|{{#languagename:os}}]] || os || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageOs.php?view=log default] || Default ||
+
| [[Portal:Os|{{#languagename:os}}]] || os || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageOs.php;hb=HEAD default] || Default ||
 
|-
 
|-
| [[Portal:Ru|{{#languagename:ru}}]] || ru || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageRu.php?view=log Rule K] || n mod 10 is 1 and n mod 100 is not 11<br /> n mod 10 in 2..4 and n mod 100 not in 12..14<br /> n mod 10 is 0 or n mod 10 in 5..9 or n mod 100 in 11..14<br /> || 1, 21, 31, 41, 51, 61...<br /> 2-4, 22-24, 32-34...<br /> 0, 5-20, 25-30, 35-40...
+
| [[Portal:Ru|{{#languagename:ru}}]] || ru || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageRu.php;hb=HEAD Rule K] || n mod 10 is 1 and n mod 100 is not 11<br /> n mod 10 in 2..4 and n mod 100 not in 12..14<br /> n mod 10 is 0 or n mod 10 in 5..9 or n mod 100 in 11..14<br /> || 1, 21, 31, 41, 51, 61...<br /> 2-4, 22-24, 32-34...<br /> 0, 5-20, 25-30, 35-40...
 
|-
 
|-
| [[Portal:Shi|{{#languagename:shi}}]] || shi || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageShi.php?view=log default] || Default ||
+
| [[Portal:Shi|{{#languagename:shi}}]] || shi || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageShi.php;hb=HEAD default] || Default ||
 
|-
 
|-
| [[Portal:Sr|{{#languagename:sr}}]] || sr || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageSr.php?view=log Rule K] || n mod 10 is 1 and n mod 100 is not 11<br /> n mod 10 in 2..4 and n mod 100 not in 12..14<br /> n mod 10 is 0 or n mod 10 in 5..9 or n mod 100 in 11..14<br /> || 1, 21, 31, 41, 51, 61...<br /> 2-4, 22-24, 32-34...<br /> 0, 5-20, 25-30, 35-40...
+
| [[Portal:Sr|{{#languagename:sr}}]] || sr || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageSr.php;hb=HEAD Rule K] || n mod 10 is 1 and n mod 100 is not 11<br /> n mod 10 in 2..4 and n mod 100 not in 12..14<br /> n mod 10 is 0 or n mod 10 in 5..9 or n mod 100 in 11..14<br /> || 1, 21, 31, 41, 51, 61...<br /> 2-4, 22-24, 32-34...<br /> 0, 5-20, 25-30, 35-40...
 
|-
 
|-
| [[Portal:Tg|{{#languagename:tg}}]] || tg || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageTg.php?view=log default] || Default ||
+
| [[Portal:Tg|{{#languagename:tg}}]] || tg || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageTg.php;hb=HEAD default] || Default ||
 
|-
 
|-
| [[Portal:Ti|{{#languagename:ti}}]] || ti || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageTi.php?view=markup one-zero] || <=1<br /> other || 0, 1<br /> 2, 3...
+
| [[Portal:Ti|{{#languagename:ti}}]] || ti || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageTi.php;hb=HEAD one-zero] || <=1<br /> other || 0, 1<br /> 2, 3...
 
|-
 
|-
| [[Portal:Tl|{{#languagename:tl}}]] || tl || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageTl.php?view=markup one-zero] || <=1<br /> other || 0, 1<br /> 2, 3...
+
| [[Portal:Tl|{{#languagename:tl}}]] || tl || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageTl.php;hb=HEAD one-zero] || <=1<br /> other || 0, 1<br /> 2, 3...
 
|-
 
|-
| [[Portal:Tr|{{#languagename:tr}}]] || tr || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageTr.php?view=log default] || Default ||
+
| [[Portal:Tr|{{#languagename:tr}}]] || tr || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageTr.php;hb=HEAD default] || Default ||
 
|-
 
|-
| [[Portal:Tyv|{{#languagename:tyv}}]] || tyv || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageTyv.php?view=log default] || Default ||
+
| [[Portal:Tyv|{{#languagename:tyv}}]] || tyv || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageTyv.php;hb=HEAD default] || Default ||
 
|-
 
|-
| [[Portal:Uk|{{#languagename:uk}}]] || uk || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageUk.php?view=log Rule K] || n mod 10 is 1 and n mod 100 is not 11<br /> n mod 10 in 2..4 and n mod 100 not in 12..14<br /> n mod 10 is 0 or n mod 10 in 5..9 or n mod 100 in 11..14<br /> || 1, 21, 31, 41, 51, 61...<br /> 2-4, 22-24, 32-34...<br /> 0, 5-20, 25-30, 35-40...
+
| [[Portal:Uk|{{#languagename:uk}}]] || uk || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageUk.php;hb=HEAD Rule K] || n mod 10 is 1 and n mod 100 is not 11<br /> n mod 10 in 2..4 and n mod 100 not in 12..14<br /> n mod 10 is 0 or n mod 10 in 5..9 or n mod 100 in 11..14<br /> || 1, 21, 31, 41, 51, 61...<br /> 2-4, 22-24, 32-34...<br /> 0, 5-20, 25-30, 35-40...
 
|-
 
|-
| [[Portal:Yue|{{#languagename:yue}}]] || yue || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageYue.php?view=log default] || Default ||
+
| [[Portal:Yue|{{#languagename:yue}}]] || yue || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageYue.php;hb=HEAD default] || Default ||
 
|-
 
|-
| [[Portal:Zh|{{#languagename:zh}}]] || zh || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageZh.php?view=log default] || Default ||
+
| [[Portal:Zh|{{#languagename:zh}}]] || zh || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageZh.php;hb=HEAD default] || Default ||
 
|-
 
|-
| [[Portal:Wa|{{#languagename:wa}}]] || wa || [https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/LanguageWa.php?view=markup one-zero] || <=1<br /> other || 0, 1<br /> 2, 3...
+
| [[Portal:Wa|{{#languagename:wa}}]] || wa || [https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/classes/LanguageWa.php;hb=HEAD one-zero] || <=1<br /> other || 0, 1<br /> 2, 3...
 
|}
 
|}

Revision as of 10:41, 1 April 2012

This page is a draft and may contain errors. Contributions welcome.

The table shows the MediaWiki plural rules for all languages enabled for localisation at translatewiki.net.

The default rules are those for English, with one form for the number 1 and another for all other numbers.

At present Mediawiki does not have rules for decimal numbers.??????

Follow the link in the group column to view the code in its language.php file (index of all language.php files).

Language Code Group Rules Examples
Afar aa Default
Abkhazian ab Default
Achinese ace Default
Adyghe ady Default
Tunisian Arabic aeb Default
Afrikaans af Default
Akan ak Default
Alabama akz Default
Gheg Albanian aln Default
Tosk als Default
Amharic am one-zero <=1
other
0, 1
2, 3...
Aragonese an Default
Old English ang Default
Angika anp Default
Arabic ar arabic 0
1
2
mod 100 in 3..10
mod 100 in 11..99
other
0
1
2
3..10, 103..110, 203..210...
11..99, 111..199, 211..299...
100..102, 200..202, 300..302...
Aramaic arc Default
Mapuche arn Default
Araona aro Default
Algerian Arabic arq Default
Moroccan Arabic ary Default
Egyptian Arabic arz Default
Assamese as Default
Asturian ast Default
Avaric av Default
Kotava avk Default
Aymara ay Default
Azerbaijani az zero other 0, 1...
Bashkir ba Default
Bavarian bar Default
Batak Toba bbc Default
Southern Balochi bcc Default
Central Bikol bcl Default
Belarusian be Rule K n mod 10 is 1 and n mod 100 is not 11
n mod 10 in 2..4 and n mod 100 not in 12..14
n mod 10 is 0 or n mod 10 in 5..9 or n mod 100 in 11..14
1, 21, 31, 41, 51, 61...
2-4, 22-24, 32-34...
0, 5-20, 25-30, 35-40...
Betawi bew Default
Badaga bfq Default
Bulgarian bg default Default
Bhojpuri bho one-zero <=1
other
0, 1
2, 3...
Bislama bi Default
Banjar bjn Default
Bambara bm Default
Bangla bn Default
Tibetan bo Default
Bishnupriya bpy Default
Bakhtiari bqi Default
Breton br Default
Brahui brh Default
Bosnian bs Rule
Czech cs Rule
Church Slavic cu Rule
Welsh cy Rule Q 0
1
2
3
6
other
0
1
2
3
6
4, 5, 7, 8...
Lower Sorbian dsb Rule
English en 1
other
1
0, 2, 3...
Esperanto eo default Default
Estonian et default Default
Finnish fi default Default
French fr one-zero <=1
other
0, 1
2, 3...
Irish ga Rule H 1
2
3..6
7..10
other
1
2
3..6
7..10
11, 12...
Gan Chinese gan default Default
Scottish Gaelic gd Rule X 1
2
11
12
3..10, 13..19
0, 20..
1
2
11
12
3..10, 13..19
0, 20..
Manx gv Rule
Hebrew he Rule 1
2
other
1
2
0, 3..
Hindi hi one-zero <=1
other
0, 1
2, 3...
Croatian hr Rule
Upper Sorbian hsb Rule
Hungarian hu default Default
Armenian hy one-zero <=1
other
0, 1
2, 3...
Inuktitut iu default Default
Japanese ja default Default
Kara-Kalpak kaa default Default
Kazakh kk default Default
Khmer km default Default
Colognian ksh Rule U 0
1
other
0
1
2, 3, 4...
Kurdish ku default Default
Latin la default Default
Lingala ln one-zero <=1
other
0, 1
2, 3...
Lithuanian lt Rule J n mod 10 is 1 and n mod 100 not in 11..19
n mod 10 in 2..9 and n mod 100 not in 11..19
other
1, 21, 31...
2-9, 22-29, 32-39...
0, 10-20, 30, 40...
Malagasy mg one-zero <=1
other
0, 1
2, 3...
Malayalam ml default Default
Burmese my default Default
Northern Sotho nso one-zero <=1
other
0, 1
2, 3...
Ossetic os default Default
Russian ru Rule K n mod 10 is 1 and n mod 100 is not 11
n mod 10 in 2..4 and n mod 100 not in 12..14
n mod 10 is 0 or n mod 10 in 5..9 or n mod 100 in 11..14
1, 21, 31, 41, 51, 61...
2-4, 22-24, 32-34...
0, 5-20, 25-30, 35-40...
Tachelhit shi default Default
Serbian sr Rule K n mod 10 is 1 and n mod 100 is not 11
n mod 10 in 2..4 and n mod 100 not in 12..14
n mod 10 is 0 or n mod 10 in 5..9 or n mod 100 in 11..14
1, 21, 31, 41, 51, 61...
2-4, 22-24, 32-34...
0, 5-20, 25-30, 35-40...
Tajik tg default Default
Tigrinya ti one-zero <=1
other
0, 1
2, 3...
Tagalog tl one-zero <=1
other
0, 1
2, 3...
Turkish tr default Default
Tuvinian tyv default Default
Ukrainian uk Rule K n mod 10 is 1 and n mod 100 is not 11
n mod 10 in 2..4 and n mod 100 not in 12..14
n mod 10 is 0 or n mod 10 in 5..9 or n mod 100 in 11..14
1, 21, 31, 41, 51, 61...
2-4, 22-24, 32-34...
0, 5-20, 25-30, 35-40...
Cantonese yue default Default
Chinese zh default Default
Walloon wa one-zero <=1
other
0, 1
2, 3...