MediaWiki  1.30.0
MessagesLv.php
Go to the documentation of this file.
1 <?php
35 $linkTrail = '/^([a-zA-ZĀāČčĒēĢģĪīĶķĻļŅņŠšŪūŽž]+)(.*)$/sDu';
36 
38  NS_MEDIA => 'Media',
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',
44  NS_FILE => 'Attēls',
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',
54 ];
55 
57  'Lietotājs' => NS_USER,
58  'Lietotāja_diskusija' => NS_USER_TALK,
59 ];
60 
62  NS_USER => [ 'male' => 'Dalībnieks', 'female' => 'Dalībniece' ],
63  NS_USER_TALK => [ 'male' => 'Dalībnieka_diskusija', 'female' => 'Dalībnieces_diskusija' ]
64 ];
65 
66 $separatorTransformTable = [ ',' => "\xc2\xa0", '.' => ',' ];
67 
78  'default',
79  'ydm',
80  'mdy',
81  'dmy',
82  'ymd',
83  'ISO 8601',
84 ];
85 
93 
99  'default',
100  'mdy',
101  'dmy',
102  'ymd'
103 ];
104 
114  'ydm time' => 'H.i',
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',
119 
120  'mdy time' => 'H:i',
121  'mdy date' => 'F j, Y',
122  'mdy monthonly' => 'F Y',
123  'mdy both' => 'H:i, F j, Y',
124  'mdy pretty' => 'F j',
125 
126  'dmy time' => 'H:i',
127  'dmy date' => 'j F Y',
128  'dmy monthonly' => 'F Y',
129  'dmy both' => 'H:i, j F Y',
130  'dmy pretty' => 'j F',
131 
132  'ymd time' => 'H:i',
133  'ymd date' => 'Y F j',
134  'ymd monthonly' => 'Y F',
135  'ymd both' => 'H:i, Y F j',
136  'ymd pretty' => 'F j',
137 
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'
143 ];
$linkTrail
$linkTrail
Definition: MessagesLv.php:35
NS_HELP
const NS_HELP
Definition: Defines.php:77
NS_TEMPLATE_TALK
const NS_TEMPLATE_TALK
Definition: Defines.php:76
NS_FILE
const NS_FILE
Definition: Defines.php:71
NS_TEMPLATE
const NS_TEMPLATE
Definition: Defines.php:75
$separatorTransformTable
$separatorTransformTable
Definition: MessagesLv.php:66
php
injection txt This is an overview of how MediaWiki makes use of dependency injection The design described here grew from the discussion of RFC T384 The term dependency this means that anything an object needs to operate should be injected from the the object itself should only know narrow no concrete implementation of the logic it relies on The requirement to inject everything typically results in an architecture that based on two main types of and essentially stateless service objects that use other service objects to operate on the value objects As of the beginning MediaWiki is only starting to use the DI approach Much of the code still relies on global state or direct resulting in a highly cyclical dependency which acts as the top level factory for services in MediaWiki which can be used to gain access to default instances of various services MediaWikiServices however also allows new services to be defined and default services to be redefined Services are defined or redefined by providing a callback the instantiator that will return a new instance of the service When it will create an instance of MediaWikiServices and populate it with the services defined in the files listed by thereby bootstrapping the DI framework Per $wgServiceWiringFiles lists includes ServiceWiring php
Definition: injection.txt:35
$datePreferences
$datePreferences
A list of date format preference keys, which can be selected in user preferences.
Definition: MessagesLv.php:77
NS_SPECIAL
const NS_SPECIAL
Definition: Defines.php:54
NS_MEDIAWIKI_TALK
const NS_MEDIAWIKI_TALK
Definition: Defines.php:74
NS_CATEGORY
const NS_CATEGORY
Definition: Defines.php:79
NS_USER_TALK
const NS_USER_TALK
Definition: Defines.php:68
NS_MEDIA
const NS_MEDIA
Definition: Defines.php:53
NS_PROJECT_TALK
const NS_PROJECT_TALK
Definition: Defines.php:70
$defaultDateFormat
$defaultDateFormat
The date format to use for generated dates in the user interface.
Definition: MessagesLv.php:92
NS_HELP_TALK
const NS_HELP_TALK
Definition: Defines.php:78
$namespaceNames
$namespaceNames
Definition: MessagesLv.php:37
NS_USER
const NS_USER
Definition: Defines.php:67
$namespaceGenderAliases
$namespaceGenderAliases
Definition: MessagesLv.php:61
NS_TALK
const NS_TALK
Definition: Defines.php:66
NS_MEDIAWIKI
const NS_MEDIAWIKI
Definition: Defines.php:73
NS_FILE_TALK
const NS_FILE_TALK
Definition: Defines.php:72
NS_CATEGORY_TALK
const NS_CATEGORY_TALK
Definition: Defines.php:80
$datePreferenceMigrationMap
$datePreferenceMigrationMap
Associative array mapping old numeric date formats, which may still be stored in user preferences,...
Definition: MessagesLv.php:98
$namespaceAliases
$namespaceAliases
Definition: MessagesLv.php:56
$dateFormats
$dateFormats
These are formats for dates generated by MediaWiki (as opposed to the wikitext DateFormatter).
Definition: MessagesLv.php:113