MediaWiki REL1_41
MessagesLzh.php File Reference

Literary Chinese (文言) 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).
 
 $datePreferences
 A list of date format preference keys which can be selected in user preferences.
 
 $defaultDateFormat = 'zh'
 
 $digitTransformTable
 
 $fallback = 'zh-hant, zh, zh-hans'
 
 $separatorTransformTable
 
 $specialPageAliases
 @phpcs-require-sorted-array
 

Detailed Description

Literary Chinese (文言)

Author
C933103
Itsmine
Justincheng12345
Omnipaedista
Shinjiman
Simon Shek
StephDC
Super Wang
Winston Sung
Xiaomingyan
Yanteng3

Definition in file MessagesLzh.php.

Variable Documentation

◆ $dateFormats

$dateFormats
Initial value:
= [
'zh time' => 'H時i分',
'zh date' => 'Y年n月j日 (l)',
'zh both' => 'Y年n月j日 (D) H時i分',
]

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 134 of file MessagesLzh.php.

◆ $datePreferences

$datePreferences
Initial value:
= [
'default',
'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 119 of file MessagesLzh.php.

◆ $defaultDateFormat

$defaultDateFormat = 'zh'

Definition at line 124 of file MessagesLzh.php.

◆ $digitTransformTable

$digitTransformTable
Initial value:
= [
'0' => '〇',
'1' => '一',
'2' => '二',
'3' => '三',
'4' => '四',
'5' => '五',
'6' => '六',
'7' => '七',
'8' => '八',
'9' => '九',
]

Definition at line 140 of file MessagesLzh.php.

◆ $fallback

$fallback = 'zh-hant, zh, zh-hans'

Definition at line 20 of file MessagesLzh.php.

◆ $separatorTransformTable

$separatorTransformTable
Initial value:
= [
'.' => '點',
',' => '',
]

Definition at line 153 of file MessagesLzh.php.

◆ $specialPageAliases

$specialPageAliases

@phpcs-require-sorted-array

Definition at line 23 of file MessagesLzh.php.