MediaWiki REL1_37
|
Public Member Functions | |
__construct () | |
loadExceptions ( $lcChars, $ucChars) | |
Public Attributes | |
$Cyrl2LatnExceptions = [] | |
$Cyrl2LatnPatterns = [] | |
$Latn2CyrlExceptions = [] | |
$Latn2CyrlPatterns = [] | |
Private Member Functions | |
addMappings ( $mapArray, &$A2B, &$B2A, $exactCase=false, $prePat='', $postPat='') | |
initLcUc ( $lcChars, $ucChars, $reinit=false) | |
loadRegs () | |
myLc ( $string) | |
myUc ( $string) | |
myUcWord ( $string) | |
Private Attributes | |
$Cyrl2LatnRegexes = [] | |
$CyrlCleanUpRegexes | |
string[] | $exactCaseMappings |
map Cyrillic to Latin and back, simple string match only (no regex) no variants: map exactly as is | |
$Latn2CyrlRegexes = [] | |
$lc2uc | |
string[] | $ManyToOneC2LMappings |
map Latin to Cyrillic and back, simple string match only (no regex) variants: all lowercase, all uppercase, first letter capitalized | |
string[] | $multiCaseMappings |
map Cyrillic to Latin and back, simple string match only (no regex) variants: all lowercase, all uppercase, first letter capitalized | |
string[] | $prefixMapping |
map Cyrillic to Latin and back, match beginning of word variants: all lowercase, all uppercase, first letter capitalized items with capture group refs (e.g., $1) are only mapped from the regex to the reference | |
string[] | $suffixMapping |
map Cyrillic to Latin and back, match end of word variants: all lowercase, all uppercase, first letter capitalized "first letter capitalized" variant was in the source items with capture group refs (e.g., $1) are only mapped from the regex to the reference | |
$uc2lc | |
const | WB = '\b' |
Definition at line 14 of file CrhExceptions.php.
MediaWiki\Languages\Data\CrhExceptions::__construct | ( | ) |
Definition at line 18 of file CrhExceptions.php.
References MediaWiki\Languages\Data\CrhExceptions\loadRegs().
|
private |
Definition at line 63 of file CrhExceptions.php.
References MediaWiki\Languages\Data\CrhExceptions\myUc(), and MediaWiki\Languages\Data\CrhExceptions\myUcWord().
Referenced by MediaWiki\Languages\Data\CrhExceptions\loadExceptions().
|
private |
Definition at line 31 of file CrhExceptions.php.
Referenced by MediaWiki\Languages\Data\CrhExceptions\loadExceptions().
MediaWiki\Languages\Data\CrhExceptions::loadExceptions | ( | $lcChars, | |
$ucChars | |||
) |
Definition at line 92 of file CrhExceptions.php.
References MediaWiki\Languages\Data\CrhExceptions\$Cyrl2LatnExceptions, MediaWiki\Languages\Data\CrhExceptions\$Cyrl2LatnPatterns, MediaWiki\Languages\Data\CrhExceptions\$Cyrl2LatnRegexes, MediaWiki\Languages\Data\CrhExceptions\$CyrlCleanUpRegexes, MediaWiki\Languages\Data\CrhExceptions\$Latn2CyrlExceptions, MediaWiki\Languages\Data\CrhExceptions\$Latn2CyrlPatterns, MediaWiki\Languages\Data\CrhExceptions\$Latn2CyrlRegexes, MediaWiki\Languages\Data\CrhExceptions\addMappings(), and MediaWiki\Languages\Data\CrhExceptions\initLcUc().
|
private |
Definition at line 412 of file CrhExceptions.php.
References CrhConverter\C_CONS, CrhConverter\C_CONS_LC, CrhConverter\C_CONS_UC, CrhConverter\C_LC, CrhConverter\C_M_CONS, CrhConverter\C_UC, CrhConverter\L_CONS, CrhConverter\L_CONS_LC, CrhConverter\L_F, CrhConverter\L_F_UC, CrhConverter\L_M_CONS, CrhConverter\L_N_CONS, CrhConverter\L_N_CONS_LC, CrhConverter\L_N_CONS_UC, CrhConverter\L_UC, CrhConverter\L_VOW, and CrhConverter\L_VOW_UC.
Referenced by MediaWiki\Languages\Data\CrhExceptions\__construct().
|
private |
Definition at line 51 of file CrhExceptions.php.
Referenced by MediaWiki\Languages\Data\CrhExceptions\myUcWord().
|
private |
Definition at line 55 of file CrhExceptions.php.
Referenced by MediaWiki\Languages\Data\CrhExceptions\addMappings(), and MediaWiki\Languages\Data\CrhExceptions\myUcWord().
|
private |
Definition at line 59 of file CrhExceptions.php.
References MediaWiki\Languages\Data\CrhExceptions\myLc(), and MediaWiki\Languages\Data\CrhExceptions\myUc().
Referenced by MediaWiki\Languages\Data\CrhExceptions\addMappings().
MediaWiki\Languages\Data\CrhExceptions::$Cyrl2LatnExceptions = [] |
Definition at line 22 of file CrhExceptions.php.
Referenced by MediaWiki\Languages\Data\CrhExceptions\loadExceptions().
MediaWiki\Languages\Data\CrhExceptions::$Cyrl2LatnPatterns = [] |
Definition at line 25 of file CrhExceptions.php.
Referenced by MediaWiki\Languages\Data\CrhExceptions\loadExceptions().
|
private |
Definition at line 409 of file CrhExceptions.php.
Referenced by MediaWiki\Languages\Data\CrhExceptions\loadExceptions().
|
private |
Definition at line 791 of file CrhExceptions.php.
Referenced by MediaWiki\Languages\Data\CrhExceptions\loadExceptions().
|
private |
map Cyrillic to Latin and back, simple string match only (no regex) no variants: map exactly as is
Definition at line 355 of file CrhExceptions.php.
MediaWiki\Languages\Data\CrhExceptions::$Latn2CyrlExceptions = [] |
Definition at line 23 of file CrhExceptions.php.
Referenced by MediaWiki\Languages\Data\CrhExceptions\loadExceptions().
MediaWiki\Languages\Data\CrhExceptions::$Latn2CyrlPatterns = [] |
Definition at line 26 of file CrhExceptions.php.
Referenced by MediaWiki\Languages\Data\CrhExceptions\loadExceptions().
|
private |
Definition at line 410 of file CrhExceptions.php.
Referenced by MediaWiki\Languages\Data\CrhExceptions\loadExceptions().
|
private |
Definition at line 28 of file CrhExceptions.php.
|
private |
map Latin to Cyrillic and back, simple string match only (no regex) variants: all lowercase, all uppercase, first letter capitalized
Definition at line 123 of file CrhExceptions.php.
|
private |
map Cyrillic to Latin and back, simple string match only (no regex) variants: all lowercase, all uppercase, first letter capitalized
Definition at line 137 of file CrhExceptions.php.
|
private |
map Cyrillic to Latin and back, match beginning of word variants: all lowercase, all uppercase, first letter capitalized items with capture group refs (e.g., $1) are only mapped from the regex to the reference
Definition at line 389 of file CrhExceptions.php.
|
private |
map Cyrillic to Latin and back, match end of word variants: all lowercase, all uppercase, first letter capitalized "first letter capitalized" variant was in the source items with capture group refs (e.g., $1) are only mapped from the regex to the reference
Definition at line 370 of file CrhExceptions.php.
|
private |
Definition at line 29 of file CrhExceptions.php.
|
private |
Definition at line 16 of file CrhExceptions.php.