MediaWiki REL1_39
MessagesFa.php File Reference

Persian (فارسی) More...

Go to the source code of this file.

Variables

 $dateFormats
 These are formats for dates generated by MediaWiki (as opposed to the wikitext DateFormatter).
 
 $datePreferenceMigrationMap
 Associative array mapping old numeric date formats, which may still be stored in user preferences, to the new string formats.
 
 $datePreferences
 A list of date format preference keys which can be selected in user preferences.
 
 $defaultDateFormat = 'dmy or mdy'
 The date format to use for generated dates in the user interface.
 
 $digitTransformTable
 
 $fallback8bitEncoding = 'windows-1256'
 
 $linkTrail = "/^([ابپتثجچحخدذرزژسشصضطظعغفقکگلمنوهیآأئؤة‌]+)(.*)$/sDu"
 
 $magicWords
 @phpcs-require-sorted-array
 
 $namespaceAliases
 
 $namespaceNames
 
 $rtl = true
 
 $separatorTransformTable
 
 $specialPageAliases
 @phpcs-require-sorted-array
 

Detailed Description

Persian (فارسی)

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

Definition in file MessagesFa.php.

Variable Documentation

◆ $dateFormats

$dateFormats
Initial value:
= [
# Please be cautious not to delete the invisible RLM from the beginning of the strings.
'mdy time' => '‏H:i',
'mdy date' => '‏n/j/Y میلادی',
'mdy both' => '‏n/j/Y میلادی، ساعت H:i',
'dmy time' => '‏H:i',
'dmy date' => '‏j xg Y',
'dmy both' => '‏j xg Y، ساعت H:i',
'ymd time' => '‏H:i',
'ymd date' => '‏Y/n/j میلادی',
'ymd both' => '‏Y/n/j میلادی، ساعت H:i',
'persian time' => '‏H:i',
'persian date' => '‏xij xiF xiY',
'persian both' => '‏xij xiF xiY، ساعت H:i',
'hebrew time' => '‏H:i',
'hebrew date' => '‏xij xjF xjY',
'hebrew both' => '‏H:i, xij xjF xjY',
'ISO 8601 time' => 'xnH:xni:xns',
'ISO 8601 date' => 'xnY-xnm-xnd',
'ISO 8601 both' => 'xnY-xnm-xnd"T"xnH:xni:xns',
]

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 405 of file MessagesFa.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 390 of file MessagesFa.php.

◆ $datePreferences

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

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 368 of file MessagesFa.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 384 of file MessagesFa.php.

◆ $digitTransformTable

$digitTransformTable
Initial value:
= [
'0' => '۰', # U+06F0
'1' => '۱', # U+06F1
'2' => '۲', # U+06F2
'3' => '۳', # U+06F3
'4' => '۴', # U+06F4
'5' => '۵', # U+06F5
'6' => '۶', # U+06F6
'7' => '۷', # U+06F7
'8' => '۸', # U+06F8
'9' => '۹', # U+06F9
'%' => '٪', # U+066A
]

Definition at line 340 of file MessagesFa.php.

◆ $fallback8bitEncoding

$fallback8bitEncoding = 'windows-1256'

Definition at line 11 of file MessagesFa.php.

◆ $linkTrail

$linkTrail = "/^([ابپتثجچحخدذرزژسشصضطظعغفقکگلمنوهیآأئؤة‌]+)(.*)$/sDu"

Definition at line 434 of file MessagesFa.php.

◆ $magicWords

$magicWords

@phpcs-require-sorted-array

Definition at line 174 of file MessagesFa.php.

◆ $namespaceAliases

$namespaceAliases
Initial value:
= [
'رسانه' => NS_MEDIA,
'رسانه‌ای' => NS_MEDIA,
'تصویر' => NS_FILE,
'بحث_تصویر' => NS_FILE_TALK,
]
const NS_FILE
Definition Defines.php:70
const NS_FILE_TALK
Definition Defines.php:71
const NS_MEDIA
Definition Defines.php:52

Definition at line 32 of file MessagesFa.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 => 'بحث_رده',
]
const NS_HELP
Definition Defines.php:76
const NS_USER
Definition Defines.php:66
const NS_MEDIAWIKI_TALK
Definition Defines.php:73
const NS_PROJECT_TALK
Definition Defines.php:69
const NS_MEDIAWIKI
Definition Defines.php:72
const NS_TEMPLATE
Definition Defines.php:74
const NS_SPECIAL
Definition Defines.php:53
const NS_HELP_TALK
Definition Defines.php:77
const NS_CATEGORY_TALK
Definition Defines.php:79
const NS_TALK
Definition Defines.php:65
const NS_USER_TALK
Definition Defines.php:67
const NS_CATEGORY
Definition Defines.php:78
const NS_TEMPLATE_TALK
Definition Defines.php:75

Definition at line 13 of file MessagesFa.php.

◆ $rtl

$rtl = true

Definition at line 10 of file MessagesFa.php.

◆ $separatorTransformTable

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

Definition at line 354 of file MessagesFa.php.

◆ $specialPageAliases

$specialPageAliases

@phpcs-require-sorted-array

Definition at line 40 of file MessagesFa.php.