MediaWiki  master
MessagesAr.php File Reference

Arabic (العربية) More...

Go to the source code of this file.

Variables

 $arabicCombiningDiacritics
 Regular expression matching the "link trail", e.g. More...
 
 $dateFormats
 These are formats for dates generated by MediaWiki (as opposed to the wikitext DateFormatter). More...
 
 $datePreferenceMigrationMap
 Associative array mapping old numeric date formats, which may still be stored in user preferences, to the new string formats. More...
 
 $datePreferences
 A list of date format preference keys which can be selected in user preferences. More...
 
 $defaultDateFormat = 'dmy or mdy'
 The date format to use for generated dates in the user interface. More...
 
 $digitGroupingPattern = "#,##0.###"
 
 $digitTransformTable
 
 $fallback8bitEncoding = 'windows-1256'
 
 $linkPrefixCharset = 'a-zA-Zء-ي' . $arabicCombiningDiacritics
 
 $linkPrefixExtension = true
 
 $linkTrail = '/^([a-zء-ي' . $arabicCombiningDiacritics . ']+)(.*)$/sDu'
 
 $magicWords
 @phpcs-require-sorted-array More...
 
 $namespaceAliases
 
 $namespaceGenderAliases
 
 $namespaceNames
 
 $rtl = true
 
 $separatorTransformTable
 
 $specialPageAliases
 @phpcs-require-sorted-array More...
 

Detailed Description

Arabic (العربية)

To improve a translation please visit https://translatewiki.net

Definition in file MessagesAr.php.

Variable Documentation

◆ $arabicCombiningDiacritics

$arabicCombiningDiacritics
Initial value:
=
'\\x{0610}-\\x{061A}' .
'\\x{064B}-\\x{065F}' .
'\\x{0670}' .
'\\x{06D6}-\\x{06DC}' .
'\\x{06DF}-\\x{06E4}' .
'\\x{06E7}' .
'\\x{06E8}' .
'\\x{06EA}-\\x{06ED}'

Regular expression matching the "link trail", e.g.

"ed" in [[Toast]]ed, as the first group, and the remainder of the string as the second group. Modified to match Arabic trails too.

Definition at line 460 of file MessagesAr.php.

◆ $dateFormats

$dateFormats
Initial value:
= [
'mdy time' => 'H:i',
'mdy date' => 'xg j، Y', # Arabic comma
'mdy both' => 'H:i، xg j، Y', # Arabic comma
'dmy time' => 'H:i',
'dmy date' => 'j xg Y',
'dmy both' => 'H:i، j xg Y', # Arabic comma
'ymd time' => 'H:i',
'ymd date' => 'Y xg j',
'ymd both' => 'H:i، Y xg j', # Arabic comma
'hijri time' => 'H:i',
'hijri date' => 'xmj xmF xmY',
'hijri both' => 'H:i، xmj xmF xmY',
'ISO 8601 time' => 'xnH:xni:xns',
'ISO 8601 date' => 'xnY-xnm-xnd',
'ISO 8601 both' => 'xnY-xnm-xnd"T"xnH:xni:xns',
'jMY time' => 'H:i',
'jMY date' => 'j M Y',
'jMY both' => 'H:i، j M Y', # Arabic comma
]

These are formats for dates generated by MediaWiki (as opposed to the wikitext DateFormatter).

Documentation for the format string can be found in Language.php, search for sprintfDate.

This array is automatically inherited by all subclasses. Individual keys can be overridden.

Definition at line 61 of file MessagesAr.php.

◆ $datePreferenceMigrationMap

$datePreferenceMigrationMap
Initial value:
= [
'default',
'mdy',
'dmy',
'ymd'
]

Associative array mapping old numeric date formats, which may still be stored in user preferences, to the new string formats.

Definition at line 46 of file MessagesAr.php.

◆ $datePreferences

$datePreferences
Initial value:
= [
'default',
'mdy',
'dmy',
'ymd',
'hijri',
'ISO 8601',
'jMY',
]

A list of date format preference keys which can be selected in user preferences.

New preference keys can be added, provided they are supported by the language class's timeanddate(). Only the 5 keys listed below are supported by the wikitext converter (DateFormatter.php).

The special key "default" is an alias for either dmy or mdy depending on $wgAmericanDates

Definition at line 24 of file MessagesAr.php.

◆ $defaultDateFormat

$defaultDateFormat = 'dmy or mdy'

The date format to use for generated dates in the user interface.

This may be one of the above date preferences, or the special value "dmy or mdy", which uses mdy if $wgAmericanDates is true, and dmy if $wgAmericanDates is false.

Definition at line 40 of file MessagesAr.php.

◆ $digitGroupingPattern

$digitGroupingPattern = "#,##0.###"

Definition at line 473 of file MessagesAr.php.

Referenced by Language\formatNumInternal().

◆ $digitTransformTable

$digitTransformTable
Initial value:
= [
'0' => '٠', # U+0660
'1' => '١', # U+0661
'2' => '٢', # U+0662
'3' => '٣', # U+0663
'4' => '٤', # U+0664
'5' => '٥', # U+0665
'6' => '٦', # U+0666
'7' => '٧', # U+0667
'8' => '٨', # U+0668
'9' => '٩', # U+0669
]

Definition at line 87 of file MessagesAr.php.

Referenced by Digit2Html\execute().

◆ $fallback8bitEncoding

$fallback8bitEncoding = 'windows-1256'

Definition at line 11 of file MessagesAr.php.

◆ $linkPrefixCharset

$linkPrefixCharset = 'a-zA-Zء-ي' . $arabicCombiningDiacritics

Definition at line 471 of file MessagesAr.php.

Referenced by ApiQuerySiteinfo\appendGeneralInfo().

◆ $linkPrefixExtension

$linkPrefixExtension = true

Definition at line 449 of file MessagesAr.php.

◆ $linkTrail

$linkTrail = '/^([a-zء-ي' . $arabicCombiningDiacritics . ']+)(.*)$/sDu'

Definition at line 470 of file MessagesAr.php.

◆ $magicWords

$magicWords

@phpcs-require-sorted-array

Definition at line 142 of file MessagesAr.php.

◆ $namespaceAliases

$namespaceAliases
Initial value:
= [
'وسائط' => NS_MEDIA,
'صورة' => NS_FILE,
'نقاش_الصورة' => NS_FILE_TALK,
]

Definition at line 124 of file MessagesAr.php.

◆ $namespaceGenderAliases

$namespaceGenderAliases
Initial value:
= [
NS_USER => [
'male' => 'مستخدم',
'female' => 'مستخدمة'
],
'male' => 'نقاش_المستخدم',
'female' => 'نقاش_المستخدمة'
],
]

Definition at line 130 of file MessagesAr.php.

◆ $namespaceNames

$namespaceNames
Initial value:
= [
NS_MEDIA => 'ميديا',
NS_SPECIAL => 'خاص',
NS_TALK => 'نقاش',
NS_USER => 'مستخدم',
NS_USER_TALK => 'نقاش_المستخدم',
NS_PROJECT_TALK => 'نقاش_$1',
NS_FILE => 'ملف',
NS_FILE_TALK => 'نقاش_الملف',
NS_MEDIAWIKI => 'ميدياويكي',
NS_MEDIAWIKI_TALK => 'نقاش_ميدياويكي',
NS_TEMPLATE => 'قالب',
NS_TEMPLATE_TALK => 'نقاش_القالب',
NS_HELP => 'مساعدة',
NS_HELP_TALK => 'نقاش_المساعدة',
NS_CATEGORY => 'تصنيف',
NS_CATEGORY_TALK => 'نقاش_التصنيف',
]

Definition at line 105 of file MessagesAr.php.

◆ $rtl

$rtl = true

Definition at line 13 of file MessagesAr.php.

◆ $separatorTransformTable

$separatorTransformTable
Initial value:
= [
'.' => '٫', # U+066B
',' => '٬', # U+066C
]

Definition at line 100 of file MessagesAr.php.

◆ $specialPageAliases

$specialPageAliases

@phpcs-require-sorted-array

Definition at line 316 of file MessagesAr.php.

NS_FILE_TALK
const NS_FILE_TALK
Definition: Defines.php:71
NS_MEDIAWIKI
const NS_MEDIAWIKI
Definition: Defines.php:72
NS_CATEGORY_TALK
const NS_CATEGORY_TALK
Definition: Defines.php:79
NS_MEDIAWIKI_TALK
const NS_MEDIAWIKI_TALK
Definition: Defines.php:73
NS_SPECIAL
const NS_SPECIAL
Definition: Defines.php:53
NS_HELP_TALK
const NS_HELP_TALK
Definition: Defines.php:77
NS_TEMPLATE
const NS_TEMPLATE
Definition: Defines.php:74
NS_TALK
const NS_TALK
Definition: Defines.php:65
NS_MEDIA
const NS_MEDIA
Definition: Defines.php:52
NS_USER
const NS_USER
Definition: Defines.php:66
NS_HELP
const NS_HELP
Definition: Defines.php:76
NS_CATEGORY
const NS_CATEGORY
Definition: Defines.php:78
NS_USER_TALK
const NS_USER_TALK
Definition: Defines.php:67
NS_FILE
const NS_FILE
Definition: Defines.php:70
NS_PROJECT_TALK
const NS_PROJECT_TALK
Definition: Defines.php:69
NS_TEMPLATE_TALK
const NS_TEMPLATE_TALK
Definition: Defines.php:75