MediaWiki
REL1_22
|
Generate first letter data files for Collation.php. More...
Public Member Functions | |
__construct () | |
charCallback ($data) | |
execute () | |
generateFirstChars () | |
loadUcd () | |
Public Attributes | |
$dataDir | |
The directory with source data files in it. | |
$debugOutFile | |
$mappedChars | |
A hashtable keyed by codepoint, where presence indicates that a character has a decomposition mapping. | |
$weights | |
The primary weights, indexed by codepoint. | |
const | NORMAL_HIRAGANA = 0X0E |
const | NORMAL_UPPERCASE = 0x08 |
Important tertiary weights from UTS #10 section 7.2. |
Generate first letter data files for Collation.php.
Definition at line 31 of file generateCollationData.php.
Reimplemented from Maintenance.
Definition at line 53 of file generateCollationData.php.
References Maintenance\addOption().
GenerateCollationData::charCallback | ( | $ | data | ) |
Definition at line 155 of file generateCollationData.php.
References IcuCollation\isCjk(), and print.
Reimplemented from Maintenance.
Definition at line 62 of file generateCollationData.php.
References $error, Maintenance\error(), generateFirstChars(), IcuCollation\getICUVersion(), Maintenance\getOption(), IcuCollation\getUnicodeVersionForICU(), and loadUcd().
Definition at line 204 of file generateCollationData.php.
References $file, $IP, array(), as, codepointToUtf8(), empty, Maintenance\error(), StringUtils\explode(), global, and print.
Referenced by execute().
Definition at line 150 of file generateCollationData.php.
References array().
Referenced by execute().
GenerateCollationData::$dataDir |
The directory with source data files in it.
Definition at line 33 of file generateCollationData.php.
GenerateCollationData::$debugOutFile |
Definition at line 45 of file generateCollationData.php.
GenerateCollationData::$mappedChars |
A hashtable keyed by codepoint, where presence indicates that a character has a decomposition mapping.
This makes it non-preferred for group header selection.
Definition at line 43 of file generateCollationData.php.
GenerateCollationData::$weights |
The primary weights, indexed by codepoint.
Definition at line 36 of file generateCollationData.php.
const GenerateCollationData::NORMAL_HIRAGANA = 0X0E |
Definition at line 51 of file generateCollationData.php.
const GenerateCollationData::NORMAL_UPPERCASE = 0x08 |
Important tertiary weights from UTS #10 section 7.2.
Definition at line 50 of file generateCollationData.php.