MediaWiki
1.23.0
|
Kazakh (Қазақша) converter routines. More...
Public Member Functions | |
__construct ( $langobj, $maincode, $variants=array(), $variantfallbacks=array(), $flags=array()) | |
autoConvert ( $text, $toVariant=false) | |
An ugly function wrapper for parsing Image titles (to prevent image name conversion) More... | |
convertCategoryKey ( $key) | |
findVariantLink (&$link, &$nt, $ignoreOtherCond=false) | |
A function wrapper: More... | |
loadDefaultTables () | |
loadRegs () | |
parseManualRule ( $rule, $flags=array()) | |
rules should be defined as -{ekavian | iyekavian-} -or- -{code:text | code:text | ...}- More... | |
postLoadTables () | |
regsConverter ( $text, $toVariant) | |
translate ( $text, $toVariant) | |
It translates text into variant. More... | |
Public Attributes | |
$mCyLa2Arab | |
$mLatn2Cyrl | |
Protected Attributes | |
$mCyrl2Latn | |
Kazakh (Қазақша) converter routines.
Definition at line 40 of file LanguageKk.php.
KkConverter::__construct | ( | $langobj, | |
$maincode, | |||
$variants = array() , |
|||
$variantfallbacks = array() , |
|||
$flags = array() |
|||
) |
$langobj | Language |
$maincode | string |
$variants | array |
$variantfallbacks | array |
$flags | array |
Definition at line 51 of file LanguageKk.php.
References $flags, and loadRegs().
KkConverter::autoConvert | ( | $text, | |
$toVariant = false |
|||
) |
An ugly function wrapper for parsing Image titles (to prevent image name conversion)
$text | string |
$toVariant | bool |
Definition at line 283 of file LanguageKk.php.
References $wgTitle, global, and NS_FILE.
Referenced by convertCategoryKey().
KkConverter::convertCategoryKey | ( | $key | ) |
$key | string |
Definition at line 401 of file LanguageKk.php.
References autoConvert().
KkConverter::findVariantLink | ( | & | $link, |
& | $nt, | ||
$ignoreOtherCond = false |
|||
) |
A function wrapper:
$link | string | |
$nt | Title | |
bool | $ignoreOtherCond |
Definition at line 258 of file LanguageKk.php.
References $link, NS_USER, and NS_USER_TALK.
KkConverter::loadDefaultTables | ( | ) |
Definition at line 64 of file LanguageKk.php.
References array().
KkConverter::loadRegs | ( | ) |
Definition at line 92 of file LanguageKk.php.
References array(), KK_C_LC, KK_C_UC, KK_L_LC, and KK_L_UC.
Referenced by __construct().
KkConverter::parseManualRule | ( | $rule, | |
$flags = array() |
|||
) |
rules should be defined as -{ekavian | iyekavian-} -or- -{code:text | code:text | ...}-
update: delete all rule parsing because it's not used currently, and just produces a couple of bugs
$rule | string |
$flags | array |
Definition at line 234 of file LanguageKk.php.
KkConverter::postLoadTables | ( | ) |
Definition at line 86 of file LanguageKk.php.
KkConverter::regsConverter | ( | $text, | |
$toVariant | |||
) |
$text | string |
$toVariant | string |
Definition at line 345 of file LanguageKk.php.
References $matches, $ret, as, H_HAMZA, KK_C_LC, and KK_C_UC.
Referenced by translate().
KkConverter::translate | ( | $text, | |
$toVariant | |||
) |
It translates text into variant.
$text | string |
$toVariant | string |
Definition at line 302 of file LanguageKk.php.
References $matches, $ret, as, global, KK_C_LC, KK_C_UC, KK_L_LC, KK_L_UC, regsConverter(), and Makefile\translate().
KkConverter::$mCyLa2Arab |
Definition at line 42 of file LanguageKk.php.
|
protected |
Definition at line 42 of file LanguageKk.php.
KkConverter::$mLatn2Cyrl |
Definition at line 42 of file LanguageKk.php.