MediaWiki
1.23.5
|
Conversion script between Latin and Tifinagh for Tachelhit. 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 -{Tifinagh | 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 | |
$mToTifinagh | |
$mUpperToLowerCaseLatin | |
Protected Attributes | |
$mDoContentConvert | |
Conversion script between Latin and Tifinagh for Tachelhit.
Based on:
Definition at line 38 of file LanguageShi.php.
ShiConverter::autoConvert | ( | $text, | |
$toVariant = false |
|||
) |
An ugly function wrapper for parsing Image titles (to prevent image name conversion)
$text | string |
$toVariant | bool |
Definition at line 150 of file LanguageShi.php.
ShiConverter::findVariantLink | ( | & | $link, |
& | $nt, | ||
$ignoreOtherCond = false |
|||
) |
A function wrapper:
$link | string |
$nt | Title |
$ignoreOtherCond | bool |
Definition at line 125 of file LanguageShi.php.
References $link, NS_USER, and NS_USER_TALK.
ShiConverter::loadDefaultTables | ( | ) |
Definition at line 69 of file LanguageShi.php.
References array().
ShiConverter::parseManualRule | ( | $rule, | |
$flags = array() |
|||
) |
rules should be defined as -{Tifinagh | 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 88 of file LanguageShi.php.
ShiConverter::parserConvert | ( | $text, | |
& | $parser | ||
) |
Do not convert content on talk pages.
$text | string |
$parser | Parser |
Definition at line 109 of file LanguageShi.php.
References $parser.
ShiConverter::translate | ( | $text, | |
$toVariant | |||
) |
It translates text into variant.
$text | string |
$toVariant | string |
Definition at line 169 of file LanguageShi.php.
|
protected |
Definition at line 40 of file LanguageShi.php.
ShiConverter::$mToLatin |
Definition at line 42 of file LanguageShi.php.
ShiConverter::$mToTifinagh |
Definition at line 60 of file LanguageShi.php.
ShiConverter::$mUpperToLowerCaseLatin |
Definition at line 51 of file LanguageShi.php.