MediaWiki REL1_37
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'
 
 $separatorTransformTable
 
 $specialPageAliases
 @phpcs-require-sorted-array
 

Detailed Description

Literary Chinese (文言)

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

Author
C933103
Itsmine
Justincheng12345
Omnipaedista
Shinjiman
Simon Shek
StephDC
Super Wang
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 135 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 120 of file MessagesLzh.php.

◆ $defaultDateFormat

$defaultDateFormat = 'zh'

Definition at line 125 of file MessagesLzh.php.

◆ $digitTransformTable

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

Definition at line 141 of file MessagesLzh.php.

◆ $fallback

$fallback = 'zh-hant'

Definition at line 21 of file MessagesLzh.php.

◆ $separatorTransformTable

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

Definition at line 154 of file MessagesLzh.php.

◆ $specialPageAliases

$specialPageAliases

@phpcs-require-sorted-array

Definition at line 24 of file MessagesLzh.php.