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
/
hsb.js
blob
8651fe41d86585044be17184abfcd9a87a5e31ee
1
/**
2
* Upper Sorbian (Hornjoserbsce) language functions
3
*/
4
5
mediaWiki
.
language
.
convertPlural
=
function
(
count
,
forms
) {
6
forms
=
mediaWiki
.
language
.
preConvertPlural
(
forms
,
4
);
7
switch
(
Math
.
abs
(
count
) %
100
) {
8
case
1
:
9
return
forms
[
0
];
10
case
2
:
11
return
forms
[
1
];
12
case
3
:
13
case
4
:
14
return
forms
[
2
];
15
default
:
16
return
forms
[
3
];
17
}
18
};