Debian Codegraph @

languages/messages/MessagesApc.php

raw symbols SCIP
1 <?php
2 /** Levantine Arabic (شامي)
3 *
4 * @file
5 * @ingroup Languages
6 */
7
8 $fallback = 'ar';
9
10 $rtl = true;
11
12 $namespaceNames = [
13 NS_MEDIA => 'ميديا',
14 NS_SPECIAL => 'مميز',
15 NS_TALK => 'نقاش',
16 NS_USER => 'مستخدم',
17 NS_USER_TALK => 'نقاش_المستخدم',
18 NS_PROJECT_TALK => 'نقاش_$1',
19 NS_FILE => 'فايل',
20 NS_FILE_TALK => 'نقاش_الفايل',
21 NS_MEDIAWIKI => 'ميدياويكي',
22 NS_MEDIAWIKI_TALK => 'نقاش_ميدياويكي',
23 NS_TEMPLATE => 'قالب',
24 NS_TEMPLATE_TALK => 'نقاش_القالب',
25 NS_HELP => 'مساعدة',
26 NS_HELP_TALK => 'نقاش_المساعدة',
27 NS_CATEGORY => 'تصنيف',
28 NS_CATEGORY_TALK => 'نقاش_التصنيف',
29 ];
30
31 $namespaceGenderAliases = [
32 NS_USER => [
33 'male' => 'مستخدم',
34 'female' => 'مستخدمة'
35 ],
36 NS_USER_TALK => [
37 'male' => 'نقاش_المستخدم',
38 'female' => 'نقاش_المستخدمة'
39 ],
40 ];
41
42 /**
43 * A list of date format preference keys which can be selected in user
44 * preferences. New preference keys can be added, provided they are supported
45 * by the language class's timeanddate(). Only the keys listed below are
46 * supported by the wikitext converter (DateFormatter.php).
47 *
48 * The special key "default" is an alias for either dmy or mdy depending on
49 * $wgAmericanDates
50 */
51 $datePreferences = [
52 'default',
53 'mdy',
54 'dmy',
55 'ymd',
56 'hijri',
57 'ISO 8601',
58 'jMY',
59 ];
60
61 /**
62 * These are formats for dates generated by MediaWiki (as opposed to the wikitext
63 * DateFormatter). Documentation for the format string can be found in
64 * Language.php, search for sprintfDate.
65 *
66 * This array is automatically inherited by all subclasses. Individual keys can be
67 * overridden.
68 */
69 $dateFormats = [
70 'mdy time' => 'H:i',
71 'mdy date' => 'xg j، Y', # Arabic comma
72 'mdy both' => 'H:i، xg j، Y', # Arabic comma
73
74 'dmy time' => 'H:i',
75 'dmy date' => 'j xg Y',
76 'dmy both' => 'H:i، j xg Y', # Arabic comma
77
78 'ymd time' => 'H:i',
79 'ymd date' => 'Y xg j',
80 'ymd both' => 'H:i، Y xg j', # Arabic comma
81
82 'hijri time' => 'H:i',
83 'hijri date' => 'xmj xmF xmY',
84 'hijri both' => 'H:i، xmj xmF xmY',
85
86 'ISO 8601 time' => 'xnH:xni:xns',
87 'ISO 8601 date' => 'xnY-xnm-xnd',
88 'ISO 8601 both' => 'xnY-xnm-xnd"T"xnH:xni:xns',
89
90 'jMY time' => 'H:i',
91 'jMY date' => 'j M Y',
92 'jMY both' => 'H:i، j M Y', # Arabic comma
93 ];
94
95 // Reset to (Western) Arabic digits
96 // https://phabricator.wikimedia.org/T382781
97 $digitTransformTable = [
98 '0' => '0',
99 '1' => '1',
100 '2' => '2',
101 '3' => '3',
102 '4' => '4',
103 '5' => '5',
104 '6' => '6',
105 '7' => '7',
106 '8' => '8',
107 '9' => '9',
108 // T382781: PHP >= 8.4 converts natively to Arabic digits, so we need to convert back
109 '٠' => '0', # U+0660
110 '١' => '1', # U+0661
111 '٢' => '2', # U+0662
112 '٣' => '3', # U+0663
113 '٤' => '4', # U+0664
114 '٥' => '5', # U+0665
115 '٦' => '6', # U+0666
116 '٧' => '7', # U+0667
117 '٨' => '8', # U+0668
118 '٩' => '9', # U+0669
119 ];
120
121 $separatorTransformTable = [
122 '.' => '.',
123 ',' => ',',
124 ];
125
126 $numberingSystem = 'latn';
127
128 $namespaceNames = [
129 NS_MEDIA => 'ميديا',
130 NS_SPECIAL => 'خاص',
131 NS_TALK => 'نقاش',
132 NS_USER => 'مستخدم',
133 NS_USER_TALK => 'نقاش_المستخدم',
134 NS_PROJECT_TALK => 'نقاش_$1',
135 NS_FILE => 'ملف',
136 NS_FILE_TALK => 'نقاش_الملف',
137 NS_MEDIAWIKI => 'ميدياويكي',
138 NS_MEDIAWIKI_TALK => 'نقاش_ميدياويكي',
139 NS_TEMPLATE => 'قالب',
140 NS_TEMPLATE_TALK => 'نقاش_القالب',
141 NS_HELP => 'مساعدة',
142 NS_HELP_TALK => 'نقاش_المساعدة',
143 NS_CATEGORY => 'تصنيف',
144 NS_CATEGORY_TALK => 'نقاش_التصنيف',
145 ];
146
147 $namespaceGenderAliases = [
148 NS_USER => [
149 'male' => 'مستخدم',
150 'female' => 'مستخدمة'
151 ],
152 NS_USER_TALK => [
153 'male' => 'نقاش_المستخدم',
154 'female' => 'نقاش_المستخدمة'
155 ],
156 ];
157
158 $linkPrefixExtension = true;
159
160 /**
161 * Regular expression matching the "link trail", e.g. "ed" in [[Toast]]ed, as
162 * the first group, and the remainder of the string as the second group. Modified to match
163 * Arabic trails too.
164 */
165 // The prefix set also needs to include diacritics, as these can be added
166 // to letters, but keep them as letters.
167 // These are from the "Extend" group in Unicode:
168 // https://www.unicode.org/Public/13.0.0/ucd/auxiliary/WordBreakProperty.txt
169 $arabicCombiningDiacritics =
170 '\\x{0610}-\\x{061A}' .
171 '\\x{064B}-\\x{065F}' .
172 '\\x{0670}' .
173 '\\x{06D6}-\\x{06DC}' .
174 '\\x{06DF}-\\x{06E4}' .
175 '\\x{06E7}' .
176 '\\x{06E8}' .
177 '\\x{06EA}-\\x{06ED}';
178
179 $linkTrail = '/^([a-zء-ي' . $arabicCombiningDiacritics . ']+)(.*)$/sDu';
180 $linkPrefixCharset = 'a-zA-Zء-ي' . $arabicCombiningDiacritics;
181 unset( $arabicCombiningDiacritics );
182
183 $digitGroupingPattern = "#,##0.###";