MediaWiki  REL1_22
LanguageKsh Class Reference

Ripuarian (RipoarÄ—sh) More...

Inheritance diagram for LanguageKsh:
Collaboration diagram for LanguageKsh:

List of all members.

Public Member Functions

 commafy ($_)
 Avoid grouping whole numbers between 0 to 9999.
 convertGrammar ($word, $case)
 Convert from the nominative form of a noun to other cases.
 convertPlural ($count, $forms)
 Handle cases of (1, other, 0) or (1, other)

Static Public Attributes

static $familygender

Detailed Description

Ripuarian (RipoarÄ—sh)

Definition at line 30 of file LanguageKsh.php.


Member Function Documentation

Avoid grouping whole numbers between 0 to 9999.

Parameters:
$_string
Returns:
string

Reimplemented from Language.

Definition at line 175 of file LanguageKsh.php.

LanguageKsh::convertGrammar ( word,
case 
)

Convert from the nominative form of a noun to other cases.

Invoked with {{GRAMMAR:case|word}} inside messages.

case is a sequence of words, each of which is case insensitive. Between words, there must be at least one space character. Only the 1st character of each word is considered. Word order is irrelevant.

Possible values specifying the grammatical case are: 1, Nominative 2, Genitive 3, Dative 4, Accusative, -omitted-

Possible values specifying the article type are: Betoont focussed or stressed article -omitted- unstressed or unfocussed article

Possible values for the type of genitive are: Sing, Iehr prepositioned genitive = possessive dative Vun, Fon, -omitted- postpositioned genitive = preposition "vun" with dative

Values of case overrides & prepositions, in the order of preceedence: Sing, Iehr possessive dative = prepositioned genitive Vun, Fon preposition "vun" with dative = postpositioned genitive En, em preposition "en" with dative

Values for object gender specifiers of the possessive dative, or prepositioned genitive, evaluated with "Sing, Iehr" of above only: Male a singular male object follows -omitted- a non-male or plural object follows

We currently handle definite articles of the singular only. There is a full set of test cases at: http://translatewiki.net/wiki/Portal:Ksh#GRAMMAR_Pr%C3%B6%C3%B6fe Contents of the leftmost table column can be copied and pasted as "case" values.

Parameters:
$wordString
$caseString
Returns:
string

Reimplemented from Language.

Definition at line 91 of file LanguageKsh.php.

LanguageKsh::convertPlural ( count,
forms 
)

Handle cases of (1, other, 0) or (1, other)

Parameters:
$countint
$formsarray
Returns:
string

Reimplemented from Language.

Definition at line 191 of file LanguageKsh.php.

References $count, Language\handleExplicitPluralForms(), and Language\preConvertPlural().


Member Data Documentation

LanguageKsh::$familygender [static]
Initial value:
 array(
        
        
            'wikipedia' => 'f',
            'wikiversity' => 'f',
            'wiktionary' => 'n',
            'wikibooks' => 'n',
            'wikiquote' => 'n',
            'wikisource' => 'n',
            'wikitravel' => 'n',
            'wikia' => 'f',
            'translatewiki.net' => 'n',
        )

Definition at line 31 of file LanguageKsh.php.


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