MediaWiki
REL1_19
|
Kurdish converter routines. More...
Public Member Functions | |
autoConvert ($text, $toVariant=false) | |
An ugly function wrapper for parsing Image titles (to prevent image name conversion) | |
findVariantLink (&$link, &$nt, $ignoreOtherCond=false) | |
A function wrapper: | |
loadDefaultTables () | |
Load default conversion tables. | |
markNoConversion ($text, $noParse=false) | |
We want our external link captions to be converted in variants, so we return the original text instead -{$text}-, except for URLs. | |
translate ($text, $toVariant) | |
It translates text into variant, specials: | |
Public Attributes | |
$mArabicToLatin | |
$mLatinToArabic |
Kurdish converter routines.
Definition at line 10 of file LanguageKu.php.
KuConverter::autoConvert | ( | $ | text, |
$ | toVariant = false |
||
) |
An ugly function wrapper for parsing Image titles (to prevent image name conversion)
$text | string |
$toVariant | bool |
Reimplemented from LanguageConverter.
Definition at line 183 of file LanguageKu.php.
References $wgTitle.
KuConverter::findVariantLink | ( | &$ | link, |
&$ | nt, | ||
$ | ignoreOtherCond = false |
||
) |
A function wrapper:
$link | string |
$nt | Title |
$ignoreOtherCond | bool |
Reimplemented from LanguageConverter.
Definition at line 145 of file LanguageKu.php.
References LanguageConverter\getPreferredVariant().
Load default conversion tables.
This method must be implemented in derived class.
Reimplemented from LanguageConverter.
Definition at line 127 of file LanguageKu.php.
KuConverter::markNoConversion | ( | $ | text, |
$ | noParse = false |
||
) |
We want our external link captions to be converted in variants, so we return the original text instead -{$text}-, except for URLs.
$text | string |
$noParse | bool |
Reimplemented from LanguageConverter.
Definition at line 168 of file LanguageKu.php.
KuConverter::translate | ( | $ | text, |
$ | toVariant | ||
) |
It translates text into variant, specials:
$text | string |
$toVariant | bool |
Reimplemented from LanguageConverter.
Definition at line 201 of file LanguageKu.php.
KuConverter::$mArabicToLatin |
Definition at line 11 of file LanguageKu.php.
KuConverter::$mLatinToArabic |
Definition at line 53 of file LanguageKu.php.