4 * To improve a translation please visit https://translatewiki.net
9 * @author Admresdeserv.
15 * @author Gleb Borisov
27 * @author לערי ריינהארט
31 * @copyright Copyright © 2006, Niklas Laxström
32 * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
35 $linkTrail = '/^([a-zA-ZĀāČčĒēĢģĪīĶķĻļŅņŠšŪūŽž]+)(.*)$/sDu';
39 NS_SPECIAL
=> 'Special',
40 NS_TALK
=> 'Diskusija',
41 NS_USER
=> 'Dalībnieks',
42 NS_USER_TALK
=> 'Dalībnieka_diskusija',
43 NS_PROJECT_TALK
=> '{{grammar:ģenitīvs|$1}}_diskusija',
45 NS_FILE_TALK
=> 'Attēla_diskusija',
46 NS_MEDIAWIKI
=> 'MediaWiki',
47 NS_MEDIAWIKI_TALK
=> 'MediaWiki_diskusija',
48 NS_TEMPLATE
=> 'Veidne',
49 NS_TEMPLATE_TALK
=> 'Veidnes_diskusija',
50 NS_HELP
=> 'Palīdzība',
51 NS_HELP_TALK
=> 'Palīdzības_diskusija',
52 NS_CATEGORY
=> 'Kategorija',
53 NS_CATEGORY_TALK
=> 'Kategorijas_diskusija',
57 'Lietotājs' => NS_USER
,
58 'Lietotāja_diskusija' => NS_USER_TALK
,
61 $namespaceGenderAliases = [
62 NS_USER
=> [ 'male' => 'Dalībnieks', 'female' => 'Dalībniece' ],
63 NS_USER_TALK
=> [ 'male' => 'Dalībnieka_diskusija', 'female' => 'Dalībnieces_diskusija' ]
66 $separatorTransformTable = [ ',' => "\xc2\xa0", '.' => ',' ];
69 * A list of date format preference keys, which can be selected in user
70 * preferences. New preference keys can be added, provided they are supported
71 * by the language class's timeanddate(). Only the 5 keys listed below are
72 * supported by the wikitext converter (parser/DateFormatter.php).
74 * The special key "default" is an alias for either dmy or mdy depending on
87 * The date format to use for generated dates in the user interface.
88 * This may be one of the above date preferences, or the special value
89 * "dmy or mdy", which uses mdy if $wgAmericanDates is true, and dmy
90 * if $wgAmericanDates is false.
92 $defaultDateFormat = 'ydm';
95 * Associative array mapping old numeric date formats, which may still be
96 * stored in user preferences, to the new string formats.
98 $datePreferenceMigrationMap = [
106 * These are formats for dates generated by MediaWiki (as opposed to the wikitext
107 * DateFormatter). Documentation for the format string can be found in
108 * Language.php, search for sprintfDate.
110 * This array is automatically inherited by all subclasses. Individual keys can be
115 'ydm date' => 'Y". gada" j. F',
116 'ydm monthonly' => 'Y". gada" F',
117 'ydm both' => 'Y". gada" j. F", plkst." H.i',
118 'ydm pretty' => 'j F',
121 'mdy date' => 'F j, Y',
122 'mdy monthonly' => 'F Y',
123 'mdy both' => 'H:i, F j, Y',
124 'mdy pretty' => 'F j',
127 'dmy date' => 'j F Y',
128 'dmy monthonly' => 'F Y',
129 'dmy both' => 'H:i, j F Y',
130 'dmy pretty' => 'j F',
133 'ymd date' => 'Y F j',
134 'ymd monthonly' => 'Y F',
135 'ymd both' => 'H:i, Y F j',
136 'ymd pretty' => 'F j',
138 'ISO 8601 time' => 'xnH:xni:xns',
139 'ISO 8601 date' => 'xnY-xnm-xnd',
140 'ISO 8601 monthonly' => 'xnY-xnm',
141 'ISO 8601 both' => 'xnY-xnm-xnd"T"xnH:xni:xns',
142 'ISO 8601 pretty' => 'xnm-xnd'