MediaWiki
1.33.0
|
Crimean Tatar (Qırımtatarca) converter routines. More...
Public Member Functions | |
__construct (Language $langobj, $maincode, $variants=[], $variantfallbacks=[], $flags=[]) | |
findVariantLink (&$link, &$nt, $ignoreOtherCond=false) | |
A function wrapper: More... | |
loadDefaultTables () | |
loadExceptions () | |
translate ( $text, $toVariant) | |
It translates text into variant, specials: More... | |
Public Attributes | |
$mCyrillicToLatin | |
$mCyrl2LatnExceptions = [] | |
$mCyrl2LatnPatterns = [] | |
$mCyrlCleanUpRegexes = [] | |
$mExceptionsLoaded = false | |
$mLatinToCyrillic | |
$mLatn2CyrlExceptions = [] | |
$mLatn2CyrlPatterns = [] | |
const | C_CONS = 'бвгджзйклмнпрстфхцчшщcñБВГДЖЗЙКЛМНПРСТФХЦЧШЩCÑ' |
const | C_CONS_LC = 'бвгджзйклмнпрстфхцчшщcñ' |
const | C_CONS_UC = 'БВГДЖЗЙКЛМНПРСТФХЦЧШЩCÑ' |
const | C_LC = 'абвгдеёжзийклмнопрстуфхцчшщъыьэюя' |
const | C_M_CONS = 'бгкмшcБГКМШC' |
const | C_UC = 'АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ' |
const | L_CONS = 'bcçdfgğhjklmnñpqrsştvzBCÇDFGĞHJKLMNÑPQRSŞTVZ' |
const | L_CONS_LC = 'bcçdfgğhjklmnñpqrsştvz' |
const | L_CONS_UC = 'BCÇDFGĞHJKLMNÑPQRSŞTVZ' |
const | L_F = 'eiöüEİÖÜ' |
const | L_F_UC = 'EİÖÜ' |
const | L_LC = 'aâbcçdefgğhıijklmnñoöpqrsştuüvyz' |
const | L_M_CONS = 'bcgkmpşBCGKMPŞ' |
const | L_N_CONS = 'çnrstzÇNRSTZ' |
const | L_N_CONS_LC = 'çnrstz' |
const | L_N_CONS_UC = 'ÇNRSTZ' |
const | L_UC = 'AÂBCÇDEFGĞHIİJKLMNÑOÖPQRSŞTUÜVYZ' |
const | L_VOW = 'aâeıioöuüAÂEIİOÖUÜ' |
const | L_VOW_UC = 'AÂEIİOÖUÜ' |
Private Member Functions | |
regsConverter ( $text, $toVariant) | |
Crimean Tatar (Qırımtatarca) converter routines.
Definition at line 31 of file LanguageCrh.php.
CrhConverter::__construct | ( | Language | $langobj, |
$maincode, | |||
$variants = [] , |
|||
$variantfallbacks = [] , |
|||
$flags = [] |
|||
) |
Language | $langobj | |
string | $maincode | |
array | $variants | |
array | $variantfallbacks | |
array | $flags |
Definition at line 66 of file LanguageCrh.php.
References loadExceptions().
CrhConverter::findVariantLink | ( | & | $link, |
& | $nt, | ||
$ignoreOtherCond = false |
|||
) |
A function wrapper:
string | &$link | |
Title | &$nt | |
bool | $ignoreOtherCond |
Definition at line 175 of file LanguageCrh.php.
References $link, NS_USER, and NS_USER_TALK.
CrhConverter::loadDefaultTables | ( | ) |
Definition at line 145 of file LanguageCrh.php.
CrhConverter::loadExceptions | ( | ) |
|
private |
Definition at line 255 of file LanguageCrh.php.
References as, and Makefile\translate().
Referenced by translate().
CrhConverter::translate | ( | $text, | |
$toVariant | |||
) |
It translates text into variant, specials:
string | $text | |
bool | $toVariant |
MWException |
Definition at line 201 of file LanguageCrh.php.
References $matches, $ret, as, and regsConverter().
CrhConverter::$mCyrillicToLatin |
Definition at line 80 of file LanguageCrh.php.
CrhConverter::$mCyrl2LatnExceptions = [] |
Definition at line 135 of file LanguageCrh.php.
CrhConverter::$mCyrl2LatnPatterns = [] |
Definition at line 138 of file LanguageCrh.php.
CrhConverter::$mCyrlCleanUpRegexes = [] |
Definition at line 141 of file LanguageCrh.php.
CrhConverter::$mExceptionsLoaded = false |
Definition at line 143 of file LanguageCrh.php.
CrhConverter::$mLatinToCyrillic |
Definition at line 110 of file LanguageCrh.php.
CrhConverter::$mLatn2CyrlExceptions = [] |
Definition at line 136 of file LanguageCrh.php.
CrhConverter::$mLatn2CyrlPatterns = [] |
Definition at line 139 of file LanguageCrh.php.
const CrhConverter::C_CONS = 'бвгджзйклмнпрстфхцчшщcñБВГДЖЗЙКЛМНПРСТФХЦЧШЩCÑ' |
Definition at line 42 of file LanguageCrh.php.
const CrhConverter::C_CONS_LC = 'бвгджзйклмнпрстфхцчшщcñ' |
Definition at line 38 of file LanguageCrh.php.
const CrhConverter::C_CONS_UC = 'БВГДЖЗЙКЛМНПРСТФХЦЧШЩCÑ' |
Definition at line 37 of file LanguageCrh.php.
const CrhConverter::C_LC = 'абвгдеёжзийклмнопрстуфхцчшщъыьэюя' |
Definition at line 36 of file LanguageCrh.php.
const CrhConverter::C_M_CONS = 'бгкмшcБГКМШC' |
Definition at line 39 of file LanguageCrh.php.
const CrhConverter::C_UC = 'АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ' |
Definition at line 35 of file LanguageCrh.php.
const CrhConverter::L_CONS = 'bcçdfgğhjklmnñpqrsştvzBCÇDFGĞHJKLMNÑPQRSŞTVZ' |
Definition at line 53 of file LanguageCrh.php.
const CrhConverter::L_CONS_LC = 'bcçdfgğhjklmnñpqrsştvz' |
Definition at line 52 of file LanguageCrh.php.
const CrhConverter::L_CONS_UC = 'BCÇDFGĞHJKLMNÑPQRSŞTVZ' |
Definition at line 51 of file LanguageCrh.php.
const CrhConverter::L_F = 'eiöüEİÖÜ' |
Definition at line 57 of file LanguageCrh.php.
const CrhConverter::L_F_UC = 'EİÖÜ' |
Definition at line 56 of file LanguageCrh.php.
const CrhConverter::L_LC = 'aâbcçdefgğhıijklmnñoöpqrsştuüvyz' |
Definition at line 46 of file LanguageCrh.php.
const CrhConverter::L_M_CONS = 'bcgkmpşBCGKMPŞ' |
Definition at line 50 of file LanguageCrh.php.
const CrhConverter::L_N_CONS = 'çnrstzÇNRSTZ' |
Definition at line 49 of file LanguageCrh.php.
const CrhConverter::L_N_CONS_LC = 'çnrstz' |
Definition at line 48 of file LanguageCrh.php.
const CrhConverter::L_N_CONS_UC = 'ÇNRSTZ' |
Definition at line 47 of file LanguageCrh.php.
const CrhConverter::L_UC = 'AÂBCÇDEFGĞHIİJKLMNÑOÖPQRSŞTUÜVYZ' |
Definition at line 45 of file LanguageCrh.php.
const CrhConverter::L_VOW = 'aâeıioöuüAÂEIİOÖUÜ' |
Definition at line 55 of file LanguageCrh.php.
const CrhConverter::L_VOW_UC = 'AÂEIİOÖUÜ' |
Definition at line 54 of file LanguageCrh.php.