MediaWiki master
MessagesPs.php File Reference

Pashto (پښتو) 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'
 
 $jsDateFormats
 
 $linkTrail = "/^([ابپتټثجچحخځڅدډذرړږژزسښشصضطظعغفقکګگلمنڼوهءیيېۍئ‌]+)(.*)$/sDu"
 
 $magicWords
 
 $namespaceAliases
 
 $namespaceGenderAliases
 
 $namespaceNames
 
 $numberingSystem = 'arabext'
 
 $rtl = true
 
 $separatorTransformTable
 
 $specialPageAliases
 

Detailed Description

Pashto (پښتو)

Author
Ahmed-Najib-Biabani-Ibrahimkhel
Kaganer
عثمان منصور انصاري
Isak Khan(AF420)
Ishaq Azizi
Subhan kdr
شاه زمان پټان

Definition in file MessagesPs.php.

Variable Documentation

◆ $dateFormats

$dateFormats
Initial value:
= [
'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',
'hijri time' => 'H:i',
'hijri date' => 'xmj xmF xmY',
'hijri both' => 'xmj xmF xmY، گړۍ H:i',
'hebrew time' => 'H:i',
'hebrew date' => 'xjj xjF xjY',
'hebrew both' => 'xjj xjF xjY، گړۍ H:i',
'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 88 of file MessagesPs.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 73 of file MessagesPs.php.

◆ $datePreferences

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

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 50 of file MessagesPs.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 67 of file MessagesPs.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 20 of file MessagesPs.php.

◆ $fallback8bitEncoding

$fallback8bitEncoding = 'windows-1256'

Definition at line 16 of file MessagesPs.php.

◆ $jsDateFormats

$jsDateFormats
Initial value:
= [
'mdy date' => [ 'options' => [ 'calendar' => 'gregory' ] ],
'mdy both' => [ 'options' => [ 'calendar' => 'gregory' ] ],
'mdy pretty' => [ 'options' => [ 'calendar' => 'gregory' ] ],
'dmy date' => [ 'options' => [ 'calendar' => 'gregory' ] ],
'dmy both' => [ 'options' => [ 'calendar' => 'gregory' ] ],
'dmy pretty' => [ 'options' => [ 'calendar' => 'gregory' ] ],
'ymd date' => [ 'options' => [ 'calendar' => 'gregory' ] ],
'ymd both' => [ 'options' => [ 'calendar' => 'gregory' ] ],
'ymd pretty' => [ 'options' => [ 'calendar' => 'gregory' ] ],
]

Definition at line 119 of file MessagesPs.php.

◆ $linkTrail

$linkTrail = "/^([ابپتټثجچحخځڅدډذرړږژزسښشصضطظعغفقکګگلمنڼوهءیيېۍئ‌]+)(.*)$/sDu"

Definition at line 495 of file MessagesPs.php.

◆ $magicWords

$magicWords

Definition at line 308 of file MessagesPs.php.

◆ $namespaceAliases

$namespaceAliases
Initial value:
= [
'ځﺎﻧګړی' => NS_SPECIAL,
'کارونکی' => NS_USER,
'د_کارونکي_خبرې_اترې' => NS_USER_TALK,
'انځور' => NS_FILE,
'د_انځور_خبرې_اترې' => NS_FILE_TALK,
'ميډياويکي' => NS_MEDIAWIKI,
'د_ميډياويکي_خبرې_اترې' => NS_MEDIAWIKI_TALK,
]
const NS_USER
Definition Defines.php:53
const NS_FILE
Definition Defines.php:57
const NS_MEDIAWIKI_TALK
Definition Defines.php:60
const NS_MEDIAWIKI
Definition Defines.php:59
const NS_SPECIAL
Definition Defines.php:40
const NS_FILE_TALK
Definition Defines.php:58
const NS_USER_TALK
Definition Defines.php:54

Definition at line 150 of file MessagesPs.php.

◆ $namespaceGenderAliases

$namespaceGenderAliases
Initial value:
= [
NS_USER => [
'male' => 'کارن',
'female' => 'کارنه'
],
'male' => 'د_کارن_خبرې_اترې',
'female' => 'د_کارنې_خبرې_اترې'
],
]

Definition at line 160 of file MessagesPs.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:63
const NS_PROJECT_TALK
Definition Defines.php:56
const NS_TEMPLATE
Definition Defines.php:61
const NS_HELP_TALK
Definition Defines.php:64
const NS_CATEGORY_TALK
Definition Defines.php:66
const NS_MEDIA
Definition Defines.php:39
const NS_TALK
Definition Defines.php:52
const NS_CATEGORY
Definition Defines.php:65
const NS_TEMPLATE_TALK
Definition Defines.php:62

Definition at line 131 of file MessagesPs.php.

◆ $numberingSystem

$numberingSystem = 'arabext'

Definition at line 39 of file MessagesPs.php.

◆ $rtl

$rtl = true

Definition at line 18 of file MessagesPs.php.

◆ $separatorTransformTable

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

Definition at line 34 of file MessagesPs.php.

◆ $specialPageAliases

$specialPageAliases

Definition at line 172 of file MessagesPs.php.