35$linkTrail =
'/^([a-zA-ZĀāČčĒēĢģĪīĶķĻļŅņŠšŪūŽž]+)(.*)$/sDu';
62 NS_USER => [
'male' =>
'Dalībnieks',
'female' =>
'Dalībniece' ],
63 NS_USER_TALK => [
'male' =>
'Dalībnieka_diskusija',
'female' =>
'Dalībnieces_diskusija' ]
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'
$defaultDateFormat
The date format to use for generated dates in the user interface.
$dateFormats
These are formats for dates generated by MediaWiki (as opposed to the wikitext DateFormatter).
$datePreferenceMigrationMap
Associative array mapping old numeric date formats, which may still be stored in user preferences,...
$datePreferences
A list of date format preference keys, which can be selected in user preferences.
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