MediaWiki
1.23.2
|
Conversion script between Latin and Syllabics for Inuktitut. More...
Public Member Functions | |
autoConvert ( $text, $toVariant=false) | |
An ugly function wrapper for parsing Image titles (to prevent image name conversion) More... | |
findVariantLink (&$link, &$nt, $ignoreOtherCond=false) | |
A function wrapper: More... | |
loadDefaultTables () | |
parseManualRule ( $rule, $flags=array()) | |
rules should be defined as -{Syllabic | Latin-} -or- -{code:text | code:text | ...}- update: delete all rule parsing because it's not used currently, and just produces a couple of bugs More... | |
parserConvert ( $text, &$parser) | |
Do not convert content on talk pages. More... | |
translate ( $text, $toVariant) | |
It translates text into variant. More... | |
Public Attributes | |
$mToLatin | |
$mToSyllabics | |
$mUpperToLowerCaseLatin | |
Protected Attributes | |
$mDoContentConvert | |
Conversion script between Latin and Syllabics for Inuktitut.
Based on:
Definition at line 38 of file LanguageIu.php.
IuConverter::autoConvert | ( | $text, | |
$toVariant = false |
|||
) |
An ugly function wrapper for parsing Image titles (to prevent image name conversion)
$text | string |
$toVariant | bool |
Definition at line 171 of file LanguageIu.php.
IuConverter::findVariantLink | ( | & | $link, |
& | $nt, | ||
$ignoreOtherCond = false |
|||
) |
A function wrapper:
$link | string |
$nt | Title |
$ignoreOtherCond | bool |
Definition at line 146 of file LanguageIu.php.
References $link, NS_USER, and NS_USER_TALK.
IuConverter::loadDefaultTables | ( | ) |
Definition at line 90 of file LanguageIu.php.
References array().
IuConverter::parseManualRule | ( | $rule, | |
$flags = array() |
|||
) |
rules should be defined as -{Syllabic | Latin-} -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 109 of file LanguageIu.php.
IuConverter::parserConvert | ( | $text, | |
& | $parser | ||
) |
Do not convert content on talk pages.
$text | string |
$parser | Parser |
Definition at line 130 of file LanguageIu.php.
References $parser.
IuConverter::translate | ( | $text, | |
$toVariant | |||
) |
It translates text into variant.
$text | string |
$toVariant | bool |
Definition at line 190 of file LanguageIu.php.
|
protected |
Definition at line 40 of file LanguageIu.php.
IuConverter::$mToLatin |
Definition at line 41 of file LanguageIu.php.
IuConverter::$mToSyllabics |
Definition at line 70 of file LanguageIu.php.
IuConverter::$mUpperToLowerCaseLatin |
Definition at line 61 of file LanguageIu.php.