ParsoidParser: pass render reason to Parsoid; fix case of 'sampleStats'
[mediawiki.git] / languages / messages / MessagesAcm.php
blob914b3275c8f4b6a2b0f1993d1cd4d302065f71e3
1 <?php
2 /** Iraqi (Mesopotamian) Arabic (عراقي)
4 * @file
5 * @ingroup Languages
6 */
8 $fallback = 'ar';
10 $rtl = true;
12 $datePreferences = [
13 'default',
14 'mdy',
15 'dmy',
16 'ymd',
17 'hijri',
18 'ISO 8601',
19 'jMY',
22 $defaultDateFormat = 'dmy or mdy';
24 $datePreferenceMigrationMap = [
25 'default',
26 'mdy',
27 'dmy',
28 'ymd'
31 $dateFormats = [
32 'mdy time' => 'H:i',
33 'mdy date' => 'xg j، Y', # Arabic comma
34 'mdy both' => 'H:i، xg j، Y', # Arabic comma
36 'dmy time' => 'H:i',
37 'dmy date' => 'j xg Y',
38 'dmy both' => 'H:i، j xg Y', # Arabic comma
40 'ymd time' => 'H:i',
41 'ymd date' => 'Y xg j',
42 'ymd both' => 'H:i، Y xg j', # Arabic comma
44 'hijri time' => 'H:i',
45 'hijri date' => 'xmj xmF xmY',
46 'hijri both' => 'H:i، xmj xmF xmY',
48 'ISO 8601 time' => 'xnH:xni:xns',
49 'ISO 8601 date' => 'xnY-xnm-xnd',
50 'ISO 8601 both' => 'xnY-xnm-xnd"T"xnH:xni:xns',
52 'jMY time' => 'H:i',
53 'jMY date' => 'j M Y',
54 'jMY both' => 'H:i، j M Y', # Arabic comma
57 $digitTransformTable = [
58 '0' => '٠', # U+0660
59 '1' => '١', # U+0661
60 '2' => '٢', # U+0662
61 '3' => '٣', # U+0663
62 '4' => '٤', # U+0664
63 '5' => '٥', # U+0665
64 '6' => '٦', # U+0666
65 '7' => '٧', # U+0667
66 '8' => '٨', # U+0668
67 '9' => '٩', # U+0669
70 $separatorTransformTable = [
71 '.' => '٫', # U+066B
72 ',' => '٬', # U+066C
75 $digitGroupingPattern = "#,##0.###";
77 $linkPrefixExtension = true;
79 /**
80 * $arabicCombiningDiacritics, $linkTrail, and
81 * $linkPrefixCharset are mostly copied from MessagesAr.php,
82 * with the addition of the letter چ
84 // The prefix set also needs to include diacritics, as these can be added
85 // to letters, but keep them as letters.
86 // These are from the "Extend" group in Unicode:
87 // https://www.unicode.org/Public/13.0.0/ucd/auxiliary/WordBreakProperty.txt
88 $arabicCombiningDiacritics =
89 '\\x{0610}-\\x{061A}' .
90 '\\x{064B}-\\x{065F}' .
91 '\\x{0670}' .
92 '\\x{06D6}-\\x{06DC}' .
93 '\\x{06DF}-\\x{06E4}' .
94 '\\x{06E7}' .
95 '\\x{06E8}' .
96 '\\x{06EA}-\\x{06ED}';
98 $linkTrail = '/^([a-zء-يچ' . $arabicCombiningDiacritics . ']+)(.*)$/sDu';
99 $linkPrefixCharset = 'a-zA-Zء-يچ' . $arabicCombiningDiacritics;
100 unset( $arabicCombiningDiacritics );