MediaWiki
REL1_19
|
Public Member Functions | |
__construct ($langobj, $maincode, $variants=array(), $variantfallbacks=array(), $flags=array(), $manualLevel=array()) | |
convertCategoryKey ($key) | |
loadDefaultTables () | |
Load default conversion tables. | |
markNoConversion ($text, $noParse=false) | |
there shouldn't be any latin text in Chinese conversion, so no need to mark anything. | |
postLoadTables () | |
Hook for post processing after conversion tables are loaded. |
Definition at line 9 of file LanguageZh.php.
ZhConverter::__construct | ( | $ | langobj, |
$ | maincode, | ||
$ | variants = array() , |
||
$ | variantfallbacks = array() , |
||
$ | flags = array() , |
||
$ | manualLevel = array() |
||
) |
$langobj | Language |
$maincode | string |
$variants | array |
$variantfallbacks | array |
$flags | array |
$manualLevel | array |
Reimplemented from LanguageConverter.
Definition at line 19 of file LanguageZh.php.
ZhConverter::convertCategoryKey | ( | $ | key | ) |
$key | string |
Reimplemented from LanguageConverter.
Definition at line 87 of file LanguageZh.php.
References LanguageConverter\autoConvert().
Load default conversion tables.
This method must be implemented in derived class.
Reimplemented from LanguageConverter.
Definition at line 45 of file LanguageZh.php.
References $zh2CN, $zh2Hans, $zh2Hant, $zh2HK, $zh2SG, and $zh2TW.
ZhConverter::markNoConversion | ( | $ | text, |
$ | noParse = false |
||
) |
there shouldn't be any latin text in Chinese conversion, so no need to mark anything.
$noParse is there for compatibility with LanguageConvert::markNoConversion
$text | string |
$noParse | bool |
Reimplemented from LanguageConverter.
Definition at line 79 of file LanguageZh.php.
Hook for post processing after conversion tables are loaded.
Reimplemented from LanguageConverter.
Definition at line 60 of file LanguageZh.php.