MediaWiki  1.29.1
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'
 
 $imageFiles
 
 $linkTrail = "/^([ابپتثجچحخدذرزژسشصضطظعغفقکگلمنوهیآأئؤة‌]+)(.*)$/sDu"
 
 $magicWords
 
 $namespaceAliases
 
 $namespaceNames
 
 $rtl = true
 
 $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 382 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 367 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 345 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 361 of file MessagesFa.php.

◆ $digitTransformTable

$digitTransformTable
Initial value:
= [
'0' => '۰', # ۰
'1' => '۱', # ۱
'2' => '۲', # ۲
'3' => '۳', # ۳
'4' => '۴', # ۴
'5' => '۵', # ۵
'6' => '۶', # ۶
'7' => '۷', # ۷
'8' => '۸', # ۸
'9' => '۹', # ۹
'%' => '٪', # ٪
'.' => '٫', # ٫ wrong table?
',' => '٬', # ٬
]

Definition at line 320 of file MessagesFa.php.

◆ $fallback8bitEncoding

$fallback8bitEncoding = 'windows-1256'

Definition at line 12 of file MessagesFa.php.

◆ $imageFiles

$imageFiles
Initial value:
= [
'button-bold' => 'fa/button_bold.png',
'button-italic' => 'fa/button_italic.png',
'button-link' => 'fa/button_link.png',
'button-headline' => 'fa/button_headline.png',
'button-nowiki' => 'fa/button_nowiki.png',
]

Definition at line 413 of file MessagesFa.php.

◆ $linkTrail

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

Definition at line 411 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.

◆ $specialPageAliases

$specialPageAliases

Definition at line 40 of file MessagesFa.php.

NS_HELP
const NS_HELP
Definition: Defines.php:74
NS_TEMPLATE_TALK
const NS_TEMPLATE_TALK
Definition: Defines.php:73
NS_FILE
const NS_FILE
Definition: Defines.php:68
NS_TEMPLATE
const NS_TEMPLATE
Definition: Defines.php:72
NS_SPECIAL
const NS_SPECIAL
Definition: Defines.php:51
table
deferred txt A few of the database updates required by various functions here can be deferred until after the result page is displayed to the user For updating the view updating the linked to tables after a etc PHP does not yet have any way to tell the server to actually return and disconnect while still running these but it might have such a feature in the future We handle these by creating a deferred update object and putting those objects on a global then executing the whole list after the page is displayed We don t do anything smart like collating updates to the same table or such because the list is almost always going to have just one item on if so it s not worth the trouble Since there is a job queue in the jobs table
Definition: deferred.txt:11
NS_MEDIAWIKI_TALK
const NS_MEDIAWIKI_TALK
Definition: Defines.php:71
NS_CATEGORY
const NS_CATEGORY
Definition: Defines.php:76
NS_USER_TALK
const NS_USER_TALK
Definition: Defines.php:65
NS_MEDIA
const NS_MEDIA
Definition: Defines.php:50
NS_PROJECT_TALK
const NS_PROJECT_TALK
Definition: Defines.php:67
NS_HELP_TALK
const NS_HELP_TALK
Definition: Defines.php:75
NS_USER
const NS_USER
Definition: Defines.php:64
NS_TALK
const NS_TALK
Definition: Defines.php:63
NS_MEDIAWIKI
const NS_MEDIAWIKI
Definition: Defines.php:70
NS_FILE_TALK
const NS_FILE_TALK
Definition: Defines.php:69
NS_CATEGORY_TALK
const NS_CATEGORY_TALK
Definition: Defines.php:77