24 require_once __DIR__ .
'/../LanguageConverter.php';
25 require_once __DIR__ .
'/LanguageKu_ku.php';
34 'ب' =>
'b',
'ج' =>
'c',
'چ' =>
'ç',
'د' =>
'd',
'ف' =>
'f',
'گ' =>
'g',
'ھ' =>
'h',
35 'ہ' =>
'h',
'ه' =>
'h',
'ح' =>
'h',
'ژ' =>
'j',
'ك' =>
'k',
'ک' =>
'k',
'ل' =>
'l',
36 'م' =>
'm',
'ن' =>
'n',
'پ' =>
'p',
'ق' =>
'q',
'ر' =>
'r',
'س' =>
's',
'ش' =>
'ş',
37 'ت' =>
't',
'ڤ' =>
'v',
'خ' =>
'x',
'غ' =>
'x',
'ز' =>
'z',
46 #
'ئێ' =>
'ê', # initial
e
48 'ه' =>
'e', # with one non-joiner
49 'ه' =>
'e', # with two non-joiner
53 'ی' =>
'î', # U+06CC db 8c ARABIC LETTER FARSI YEH
54 'ى' =>
'î', # U+0649 d9 89 ARABIC LETTER ALEF MAKSURA
57 'ئ' =>
'', # initial hemze should not be shown
63 '٠' =>
'0', # ٠
64 '١' =>
'1', # ١
65 '٢' =>
'2', # ٢
66 '٣' =>
'3', # ٣
67 '٤' =>
'4', # ٤
68 '٥' =>
'5', # ٥
69 '٦' =>
'6', # ٦
70 '٧' =>
'7', # ٧
71 '٨' =>
'8', # ٨
72 '٩' =>
'9', # ٩
76 'b' =>
'ب',
'c' =>
'ج',
'ç' =>
'چ',
'd' =>
'د',
'f' =>
'ف',
'g' =>
'گ',
77 'h' =>
'ه',
'j' =>
'ژ',
'k' =>
'ک',
'l' =>
'ل',
78 'm' =>
'م',
'n' =>
'ن',
'p' =>
'پ',
'q' =>
'ق',
'r' =>
'ر',
's' =>
'س',
'ş' =>
'ش',
79 't' =>
'ت',
'v' =>
'ڤ',
80 'x' =>
'خ',
'y' =>
'ی',
'z' =>
'ز',
82 'B' =>
'ب',
'C' =>
'ج',
'Ç' =>
'چ',
'D' =>
'د',
'F' =>
'ف',
'G' =>
'گ',
'H' =>
'ھ',
83 'H' =>
'ہ',
'H' =>
'ه',
'H' =>
'ح',
'J' =>
'ژ',
'K' =>
'ك',
'K' =>
'ک',
'L' =>
'ل',
84 'M' =>
'م',
'N' =>
'ن',
'P' =>
'پ',
'Q' =>
'ق',
'R' =>
'ر',
'S' =>
'س',
'Ş' =>
'ش',
85 'T' =>
'ت',
'V' =>
'ڤ',
'W' =>
'و',
'X' =>
'خ',
86 'Y' =>
'ی',
'Z' =>
'ز',
89 #
'll' =>
'ڵ', # wenn es geht, doppel-l und l getrennt zu behandeln
90 #
'rr' =>
'ڕ', # selbiges für doppel-r
108 # Try to replace the leading vowel
130 # eyn erstmal deaktivieren, einfache Anführungsstriche sind einfach zu häufig, um sie als eyn zu interpretieren
149 $this->mTables =
array(
168 if ( is_object( $nt ) ) {
169 $ns = $nt->getNamespace();
176 parent::findVariantLink(
$link, $nt, $ignoreOtherCond );
177 if ( $this->getPreferredVariant() == $this->mMainLanguageCode ) {
195 if ( preg_match(
"/^$imagename:/", $text ) ) {
199 return parent::autoConvert( $text, $toVariant );
239 if ( !isset( $this->mTables[$toVariant] ) ) {
240 throw new MWException(
"Broken variant table: " . implode(
',', array_keys( $this->mTables ) ) );
256 parent::__construct();
258 $variants =
array(
'ku',
'ku-arab',
'ku-latn' );
259 $variantfallbacks =
array(
261 'ku-arab' =>
'ku-latn',
262 'ku-latn' =>
'ku-arab',
265 $this->mConverter =
new KuConverter( $this,
'ku', $variants, $variantfallbacks );