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';
37 $namespaceNames = array(
39 NS_SPECIAL
=> 'Special',
40 NS_TALK
=> 'Diskusija',
41 NS_USER
=> 'Lietotājs',
42 NS_USER_TALK
=> 'Lietotāja_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',
55 $separatorTransformTable = array( ',' => "\xc2\xa0", '.' => ',' );
58 * A list of date format preference keys, which can be selected in user
59 * preferences. New preference keys can be added, provided they are supported
60 * by the language class's timeanddate(). Only the 5 keys listed below are
61 * supported by the wikitext converter (parser/DateFormatter.php).
63 * The special key "default" is an alias for either dmy or mdy depending on
66 $datePreferences = array(
76 * The date format to use for generated dates in the user interface.
77 * This may be one of the above date preferences, or the special value
78 * "dmy or mdy", which uses mdy if $wgAmericanDates is true, and dmy
79 * if $wgAmericanDates is false.
81 $defaultDateFormat = 'ydm';
84 * Associative array mapping old numeric date formats, which may still be
85 * stored in user preferences, to the new string formats.
87 $datePreferenceMigrationMap = array(
95 * These are formats for dates generated by MediaWiki (as opposed to the wikitext
96 * DateFormatter). Documentation for the format string can be found in
97 * Language.php, search for sprintfDate.
99 * This array is automatically inherited by all subclasses. Individual keys can be
102 $dateFormats = array(
104 'ydm date' => 'Y". gada" j. F',
105 'ydm monthonly' => 'Y". gada" F',
106 'ydm both' => 'Y". gada" j. F", plkst." H.i',
107 'ydm pretty' => 'j F',
110 'mdy date' => 'F j, Y',
111 'mdy monthonly' => 'F Y',
112 'mdy both' => 'H:i, F j, Y',
113 'mdy pretty' => 'F j',
116 'dmy date' => 'j F Y',
117 'dmy monthonly' => 'F Y',
118 'dmy both' => 'H:i, j F Y',
119 'dmy pretty' => 'j F',
122 'ymd date' => 'Y F j',
123 'ymd monthonly' => 'Y F',
124 'ymd both' => 'H:i, Y F j',
125 'ymd pretty' => 'F j',
127 'ISO 8601 time' => 'xnH:xni:xns',
128 'ISO 8601 date' => 'xnY-xnm-xnd',
129 'ISO 8601 monthonly' => 'xnY-xnm',
130 'ISO 8601 both' => 'xnY-xnm-xnd"T"xnH:xni:xns',
131 'ISO 8601 pretty' => 'xnm-xnd'