7 * @author Admresdeserv.
13 * @author Gleb Borisov
25 * @author לערי ריינהארט
29 * @copyright Copyright © 2006, Niklas Laxström
30 * @license GPL-2.0-or-later
33 $linkTrail = '/^([a-zA-ZĀāČčĒēĢģĪīĶķĻļŅņŠšŪūŽž]+)(.*)$/sDu';
37 NS_SPECIAL
=> 'Special',
38 NS_TALK
=> 'Diskusija',
39 NS_USER
=> 'Dalībnieks',
40 NS_USER_TALK
=> 'Dalībnieka_diskusija',
41 NS_PROJECT_TALK
=> '{{grammar:ģenitīvs|$1}}_diskusija',
43 NS_FILE_TALK
=> 'Attēla_diskusija',
44 NS_MEDIAWIKI
=> 'MediaWiki',
45 NS_MEDIAWIKI_TALK
=> 'MediaWiki_diskusija',
46 NS_TEMPLATE
=> 'Veidne',
47 NS_TEMPLATE_TALK
=> 'Veidnes_diskusija',
48 NS_HELP
=> 'Palīdzība',
49 NS_HELP_TALK
=> 'Palīdzības_diskusija',
50 NS_CATEGORY
=> 'Kategorija',
51 NS_CATEGORY_TALK
=> 'Kategorijas_diskusija',
55 'Lietotājs' => NS_USER
,
56 'Lietotāja_diskusija' => NS_USER_TALK
,
59 $namespaceGenderAliases = [
60 NS_USER
=> [ 'male' => 'Dalībnieks', 'female' => 'Dalībniece' ],
61 NS_USER_TALK
=> [ 'male' => 'Dalībnieka_diskusija', 'female' => 'Dalībnieces_diskusija' ]
64 $separatorTransformTable = [ ',' => "\u{00A0}", '.' => ',' ];
67 * A list of date format preference keys, which can be selected in user
68 * preferences. New preference keys can be added, provided they are supported
69 * by the language class's timeanddate(). Only the 5 keys listed below are
70 * supported by the wikitext converter (parser/DateFormatter.php).
72 * The special key "default" is an alias for either dmy or mdy depending on
85 * The date format to use for generated dates in the user interface.
86 * This may be one of the above date preferences, or the special value
87 * "dmy or mdy", which uses mdy if $wgAmericanDates is true, and dmy
88 * if $wgAmericanDates is false.
90 $defaultDateFormat = 'ydm';
93 * Associative array mapping old numeric date formats, which may still be
94 * stored in user preferences, to the new string formats.
96 $datePreferenceMigrationMap = [
104 * These are formats for dates generated by MediaWiki (as opposed to the wikitext
105 * DateFormatter). Documentation for the format string can be found in
106 * Language.php, search for sprintfDate.
108 * This array is automatically inherited by all subclasses. Individual keys can be
113 'ydm date' => 'Y". gada" j. F',
114 'ydm monthonly' => 'Y". gada" F',
115 'ydm both' => 'Y". gada" j. F", plkst." H.i',
116 'ydm pretty' => 'j F',
119 'mdy date' => 'F j, Y',
120 'mdy monthonly' => 'F Y',
121 'mdy both' => 'H:i, F j, Y',
122 'mdy pretty' => 'F j',
125 'dmy date' => 'j F Y',
126 'dmy monthonly' => 'F Y',
127 'dmy both' => 'H:i, j F Y',
128 'dmy pretty' => 'j F',
131 'ymd date' => 'Y F j',
132 'ymd monthonly' => 'Y F',
133 'ymd both' => 'H:i, Y F j',
134 'ymd pretty' => 'F j',
136 'ISO 8601 time' => 'xnH:xni:xns',
137 'ISO 8601 date' => 'xnY-xnm-xnd',
138 'ISO 8601 monthonly' => 'xnY-xnm',
139 'ISO 8601 both' => 'xnY-xnm-xnd"T"xnH:xni:xns',
140 'ISO 8601 pretty' => 'xnm-xnd'