MediaWiki
REL1_41
MessagesAcm.php
Go to the documentation of this file.
1
<?php
8
$fallback
=
'ar'
;
9
10
$rtl
=
true
;
11
12
$datePreferences
= [
13
'default'
,
14
'mdy'
,
15
'dmy'
,
16
'ymd'
,
17
'hijri'
,
18
'ISO 8601'
,
19
'jMY'
,
20
];
21
22
$defaultDateFormat
=
'dmy or mdy'
;
23
24
$datePreferenceMigrationMap
= [
25
'default'
,
26
'mdy'
,
27
'dmy'
,
28
'ymd'
29
];
30
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
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
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
68
];
69
70
$separatorTransformTable
= [
71
'.'
=>
'٫'
, # U+066B
72
','
=>
'٬'
, # U+066C
73
];
74
75
$digitGroupingPattern
=
"#,##0.###"
;
76
77
$linkPrefixExtension
=
true
;
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
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}'
;
97
98
$linkTrail
=
'/^([a-zء-يچ'
.
$arabicCombiningDiacritics
.
']+)(.*)$/sDu'
;
99
$linkPrefixCharset
=
'a-zA-Zء-يچ'
.
$arabicCombiningDiacritics
;
100
unset(
$arabicCombiningDiacritics
);
$linkPrefixExtension
$linkPrefixExtension
Definition
MessagesAcm.php:77
$fallback
$fallback
Definition
MessagesAcm.php:8
$defaultDateFormat
$defaultDateFormat
Definition
MessagesAcm.php:22
$dateFormats
$dateFormats
Definition
MessagesAcm.php:31
$datePreferenceMigrationMap
$datePreferenceMigrationMap
Definition
MessagesAcm.php:24
$linkPrefixCharset
$linkPrefixCharset
Definition
MessagesAcm.php:99
$linkTrail
$linkTrail
Definition
MessagesAcm.php:98
$datePreferences
$datePreferences
Definition
MessagesAcm.php:12
$separatorTransformTable
$separatorTransformTable
Definition
MessagesAcm.php:70
$digitGroupingPattern
$digitGroupingPattern
Definition
MessagesAcm.php:75
$arabicCombiningDiacritics
$arabicCombiningDiacritics
$arabicCombiningDiacritics, $linkTrail, and $linkPrefixCharset are mostly copied from MessagesAr....
Definition
MessagesAcm.php:88
$digitTransformTable
$digitTransformTable
Definition
MessagesAcm.php:57
$rtl
$rtl
Definition
MessagesAcm.php:10
languages
messages
MessagesAcm.php
Generated on Sat Nov 23 2024 08:25:53 for MediaWiki by
1.10.0