MediaWiki  REL1_19
LanguageRu Class Reference

Russian (русский язык) More...

Inheritance diagram for LanguageRu:
Collaboration diagram for LanguageRu:

List of all members.

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.

Detailed Description

Russian (русский язык)

You can contact Alexander Sigachov (alexander.sigachov at Googgle Mail)

Definition at line 9 of file LanguageRu.php.


Member Function Documentation

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".

Parameters:
$_string
Returns:
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}}.

Parameters:
$wordstring
$casestring
Returns:
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]")

Parameters:
$countint
$formsarray
Returns:
string

Reimplemented from Language.

Definition at line 84 of file LanguageRu.php.

References $count, and Language\preConvertPlural().

Here is the call graph for this function:


The documentation for this class was generated from the following file: