MediaWiki  1.30.0
MessagesCh.php
Go to the documentation of this file.
1 <?php
12  NS_MEDIA => 'Media',
13  NS_SPECIAL => 'Espesiat',
14  NS_TALK => 'Kombetsasion',
15  NS_USER => 'Muna\'sesetbi',
16  NS_USER_TALK => 'Kombetsasion_ni_muna\'sesetbi',
17  NS_PROJECT_TALK => 'Kombetsasion_nu_$1',
18  NS_FILE => 'Litratu',
19  NS_FILE_TALK => 'Kombetsasion_ni_litratu',
20  NS_HELP => 'Ayudo',
21  NS_HELP_TALK => 'Kombetsasion_ni_ayudo',
22  NS_CATEGORY => 'Katigoria',
23  NS_CATEGORY_TALK => 'Kombetsasion_ni_katigoria',
24 ];
NS_HELP
const NS_HELP
Definition: Defines.php:77
NS_FILE
const NS_FILE
Definition: Defines.php:71
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
NS_SPECIAL
const NS_SPECIAL
Definition: Defines.php:54
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
NS_HELP_TALK
const NS_HELP_TALK
Definition: Defines.php:78
NS_USER
const NS_USER
Definition: Defines.php:67
NS_TALK
const NS_TALK
Definition: Defines.php:66
NS_FILE_TALK
const NS_FILE_TALK
Definition: Defines.php:72
NS_CATEGORY_TALK
const NS_CATEGORY_TALK
Definition: Defines.php:80
$namespaceNames
$namespaceNames
Definition: MessagesCh.php:11