MediaWiki master
MessagesAcm.php
Go to the documentation of this file.
1<?php
8$fallback = 'ar';
9
10$rtl = true;
11
13 'default',
14 'mdy',
15 'dmy',
16 'ymd',
17 'hijri',
18 'ISO 8601',
19 'jMY',
20];
21
22$defaultDateFormat = 'dmy or mdy';
23
25 'default',
26 'mdy',
27 'dmy',
28 'ymd'
29];
30
32 'mdy time' => 'H:i',
33 'mdy date' => 'xg j، Y', # Arabic comma
34 'mdy both' => 'H:i، xg j، Y', # Arabic comma
35
36 'dmy time' => 'H:i',
37 'dmy date' => 'j xg Y',
38 'dmy both' => 'H:i، j xg Y', # Arabic comma
39
40 'ymd time' => 'H:i',
41 'ymd date' => 'Y xg j',
42 'ymd both' => 'H:i، Y xg j', # Arabic comma
43
44 'hijri time' => 'H:i',
45 'hijri date' => 'xmj xmF xmY',
46 'hijri both' => 'H:i، xmj xmF xmY',
47
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',
51
52 'jMY time' => 'H:i',
53 'jMY date' => 'j M Y',
54 'jMY both' => 'H:i، j M Y', # Arabic comma
55];
56
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
68];
69
71 '.' => '٫', # U+066B
72 ',' => '٬', # U+066C
73];
74
76
78
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
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}';
97
98$linkTrail = '/^([a-zء-يچ' . $arabicCombiningDiacritics . ']+)(.*)$/sDu';
$linkPrefixExtension
$fallback
$defaultDateFormat
$dateFormats
$datePreferenceMigrationMap
$linkPrefixCharset
$linkTrail
$datePreferences
$separatorTransformTable
$digitGroupingPattern
$arabicCombiningDiacritics
$arabicCombiningDiacritics, $linkTrail, and $linkPrefixCharset are mostly copied from MessagesAr....
$digitTransformTable
$rtl