MediaWiki  1.30.0
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). More...
 
 $datePreferences
 A list of date format preference keys which can be selected in user preferences. More...
 
 $defaultDateFormat = 'zh'
 
 $digitTransformTable
 
 $fallback = 'zh-hant'
 
 $specialPageAliases
 

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 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'

Definition at line 21 of file MessagesLzh.php.

◆ $specialPageAliases

$specialPageAliases

Definition at line 23 of file MessagesLzh.php.