MediaWiki
REL1_19
|
Russian (русский язык) More...
Public Member Functions | |
commafy ($_) | |
Four-digit number should be without group commas (spaces) See manual of style at http://ru.wikipedia.org/wiki/Википедия:Оформление_статей So "1 234 567", "12 345" but "1234". | |
convertGrammar ($word, $case) | |
Convert from the nominative form of a noun to some other case Invoked with {{grammar:case|word}}. | |
convertPlural ($count, $forms) | |
Plural form transformations. |
Russian (русский язык)
You can contact Alexander Sigachov (alexander.sigachov at Googgle Mail)
Definition at line 9 of file LanguageRu.php.
LanguageRu::commafy | ( | $ | _ | ) |
Four-digit number should be without group commas (spaces) See manual of style at http://ru.wikipedia.org/wiki/Википедия:Оформление_статей So "1 234 567", "12 345" but "1234".
$_ | string |
Reimplemented from Language.
Definition at line 119 of file LanguageRu.php.
LanguageRu::convertGrammar | ( | $ | word, |
$ | case | ||
) |
Convert from the nominative form of a noun to some other case Invoked with {{grammar:case|word}}.
$word | string |
$case | string |
Reimplemented from Language.
Definition at line 19 of file LanguageRu.php.
References $wgGrammarForms.
LanguageRu::convertPlural | ( | $ | count, |
$ | forms | ||
) |
Plural form transformations.
$forms[0] - singular form (for 1, 21, 31, 41...) $forms[1] - paucal form (for 2, 3, 4, 22, 23, 24, 32, 33, 34...) $forms[2] - plural form (for 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 25, 26...)
Examples: message with number "Сделано $1 {{PLURAL:$1|изменение|изменения|изменений}}" ("$1 change[s] were made) message without number "Действие не может быть выполнено по {{PLURAL:$1|следующей причине|следующим причинам}}:" ("The action cannot be performed for the following reason[s]")
$count | int |
$forms | array |
Reimplemented from Language.
Definition at line 84 of file LanguageRu.php.
References $count, and Language\preConvertPlural().