MediaWiki  master
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). 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...
 
 $digitTransformTable
 
 $fallback8bitEncoding = 'windows-1256'
 
 $linkTrail = "/^([ابپتثجچحخدذرزژسشصضطظعغفقکگلمنوهیآأئؤة‌]+)(.*)$/sDu"
 
 $magicWords
 
 $namespaceAliases
 
 $namespaceNames
 
 $rtl = true
 
 $separatorTransformTable
 
 $specialPageAliases
 

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 385 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 370 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 348 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 364 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 320 of file MessagesFa.php.

◆ $fallback8bitEncoding

$fallback8bitEncoding = 'windows-1256'

Definition at line 12 of file MessagesFa.php.

◆ $linkTrail

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

Definition at line 414 of file MessagesFa.php.

◆ $magicWords

$magicWords

Definition at line 154 of file MessagesFa.php.

◆ $namespaceAliases

$namespaceAliases
Initial value:
= [
'رسانه' => NS_MEDIA,
'رسانه‌ای' => NS_MEDIA,
'تصویر' => NS_FILE,
'بحث_تصویر' => NS_FILE_TALK,
]

Definition at line 33 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 => 'بحث_رده',
]

Definition at line 14 of file MessagesFa.php.

◆ $rtl

$rtl = true

Definition at line 11 of file MessagesFa.php.

◆ $separatorTransformTable

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

Definition at line 334 of file MessagesFa.php.

◆ $specialPageAliases

$specialPageAliases

Definition at line 40 of file MessagesFa.php.

NS_HELP
const NS_HELP
Definition: Defines.php:72
NS_TEMPLATE_TALK
const NS_TEMPLATE_TALK
Definition: Defines.php:71
NS_FILE
const NS_FILE
Definition: Defines.php:66
NS_TEMPLATE
const NS_TEMPLATE
Definition: Defines.php:70
NS_SPECIAL
const NS_SPECIAL
Definition: Defines.php:49
NS_MEDIAWIKI_TALK
const NS_MEDIAWIKI_TALK
Definition: Defines.php:69
NS_CATEGORY
const NS_CATEGORY
Definition: Defines.php:74
NS_USER_TALK
const NS_USER_TALK
Definition: Defines.php:63
NS_MEDIA
const NS_MEDIA
Definition: Defines.php:48
NS_PROJECT_TALK
const NS_PROJECT_TALK
Definition: Defines.php:65
NS_HELP_TALK
const NS_HELP_TALK
Definition: Defines.php:73
NS_USER
const NS_USER
Definition: Defines.php:62
NS_TALK
const NS_TALK
Definition: Defines.php:61
NS_MEDIAWIKI
const NS_MEDIAWIKI
Definition: Defines.php:68
NS_FILE_TALK
const NS_FILE_TALK
Definition: Defines.php:67
NS_CATEGORY_TALK
const NS_CATEGORY_TALK
Definition: Defines.php:75