repo.or.cz
/
mediawiki.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Make API action=tokens extendable
[mediawiki.git]
/
resources
/
mediawiki.language
/
languages
/
gv.js
blob
afc2b5d476d0200e64ea74d63d34f06d9742d8e7
1
/**
2
* Manx (Gaelg) language functions
3
*/
4
5
mediaWiki
.
language
.
convertPlural
=
function
(
count
,
forms
) {
6
forms
=
mediaWiki
.
language
.
preConvertPlural
(
forms
,
4
);
7
if
(
count
>
0
&& (
count
%
20
) ===
0
) {
8
return
forms
[
0
];
9
}
10
switch
(
count
%
10
) {
11
case
1
:
12
return
forms
[
1
];
13
case
2
:
14
return
forms
[
2
];
15
default
:
16
return
forms
[
3
];
17
}
18
};