repo.or.cz
/
mediawiki.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Update migrateUserGroup to deal with primary key issue
[mediawiki.git]
/
resources
/
mediawiki.language
/
languages
/
cy.js
blob
333d956f66f7760fe84fd1d74f1fb214c35788e7
1
/**
2
* Welsh (Cymraeg) language functions
3
*/
4
5
mediaWiki.language.convertPlural = function( count, forms ) {
6
forms = mediaWiki.language.preConvertPlural( forms, 6 );
7
count = Math.abs( count );
8
if ( count >= 0 && count <= 3 ) {
9
return forms[count];
10
}
11
if ( count == 6 ) {
12
return forms[4];
13
}
14
return forms[5];
15
};