MediaWiki REL1_32
MessagesAb.php
Go to the documentation of this file.
1<?php
11$fallback = 'ru';
12
14 NS_MEDIA => 'Амедиа',
15 NS_SPECIAL => 'Цастәи',
16 NS_TALK => 'Ахцәажәара',
17 NS_USER => 'Алахәыла',
18 NS_USER_TALK => 'Алахәыла_ахцәажәара',
19 NS_PROJECT_TALK => '$1_ахцәажәара',
20 NS_FILE => 'Афаил',
21 NS_FILE_TALK => 'Афаил_ахцәажәара',
22 NS_MEDIAWIKI => 'Амедиавики',
23 NS_MEDIAWIKI_TALK => 'Амедиавики_ахцәажәара',
24 NS_TEMPLATE => 'Ашаблон',
25 NS_TEMPLATE_TALK => 'Ашаблон_ахцәажәара',
26 NS_HELP => 'Ацхыраара',
27 NS_HELP_TALK => 'Ацхыраара_ахцәажәара',
28 NS_CATEGORY => 'Акатегориа',
29 NS_CATEGORY_TALK => 'Акатегориа_ахцәажәара',
30];
31
33 'Иалахә' => NS_USER,
34
35 // Backward compat. Fallbacks from 'ru'.
36 'Медиа' => NS_MEDIA,
37 'Служебная' => NS_SPECIAL,
38 'Обсуждение' => NS_TALK,
39 'Участник' => NS_USER,
40 'Обсуждение_участника' => NS_USER_TALK,
41 'Обсуждение_$1' => NS_PROJECT_TALK,
42 'Файл' => NS_FILE,
43 'Обсуждение_файла' => NS_FILE_TALK,
44 'MediaWiki' => NS_MEDIAWIKI,
45 'Обсуждение_MediaWiki' => NS_MEDIAWIKI_TALK,
46 'Шаблон' => NS_TEMPLATE,
47 'Обсуждение_шаблона' => NS_TEMPLATE_TALK,
48 'Справка' => NS_HELP,
49 'Обсуждение_справки' => NS_HELP_TALK,
50 'Категория' => NS_CATEGORY,
51 'Обсуждение_категории' => NS_CATEGORY_TALK
52];
53
54// Remove Russian aliases
56
58 'Categories' => [ 'Акатегориақәа' ],
59 'Mycontributions' => [ 'Архиарақәа' ],
60 'Mypage' => [ 'Садаҟьа' ],
61 'Mytalk' => [ 'Сахцәажәара' ],
62 'Newimages' => [ 'АфаилқәаҾыц' ],
63 'Newpages' => [ 'АдаҟьақәаҾыц' ],
64 'Randompage' => [ 'Машәырлатәи' ],
65 'Recentchanges' => [ 'АрҽеираҾыцқәа' ],
66 'Search' => [ 'Аҧшаара' ],
67 'Specialpages' => [ 'ЦастәиАдаҟьақәа' ],
68 'Upload' => [ 'Аҭагалара' ],
69];
70
72 'language' => [ '0', '#АБЫЗШӘА:', '#ЯЗЫК:', '#LANGUAGE:' ],
73 'special' => [ '0', 'цастәи', 'служебная', 'special' ],
74 'index' => [ '1', '__АИНДЕКС__', '__ИНДЕКС__', '__INDEX__' ],
75];
76
77$linkTrail = '/^([a-zабвгҕдежзӡикқҟлмнопҧрстҭуфхҳцҵчҷҽҿшыҩџьә]+)(.*)$/sDu';
$fallback
$namespaceGenderAliases
$namespaceAliases
$linkTrail
$namespaceNames
$specialPageAliases
$magicWords
const NS_HELP
Definition Defines.php:76
const NS_USER
Definition Defines.php:66
const NS_FILE
Definition Defines.php:70
const NS_MEDIAWIKI_TALK
Definition Defines.php:73
const NS_PROJECT_TALK
Definition Defines.php:69
const NS_MEDIAWIKI
Definition Defines.php:72
const NS_TEMPLATE
Definition Defines.php:74
const NS_SPECIAL
Definition Defines.php:53
const NS_FILE_TALK
Definition Defines.php:71
const NS_HELP_TALK
Definition Defines.php:77
const NS_CATEGORY_TALK
Definition Defines.php:79
const NS_MEDIA
Definition Defines.php:52
const NS_TALK
Definition Defines.php:65
const NS_USER_TALK
Definition Defines.php:67
const NS_CATEGORY
Definition Defines.php:78
const NS_TEMPLATE_TALK
Definition Defines.php:75
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:37