MediaWiki REL1_31
MessagesRo.php
Go to the documentation of this file.
1<?php
32$separatorTransformTable = [ ',' => ".", '.' => ',' ];
33
35 'redirect' => [ '0', '#REDIRECTEAZA', '#REDIRECT' ],
36 'notoc' => [ '0', '__FARACUPRINS__', '__NOTOC__' ],
37 'nogallery' => [ '0', '__FARAGALERIE__', '__NOGALLERY__' ],
38 'forcetoc' => [ '0', '__FORTEAZACUPRINS__', '__FORCETOC__' ],
39 'toc' => [ '0', '__CUPRINS__', '__TOC__' ],
40 'noeditsection' => [ '0', '__FARAEDITSECTIUNE__', '__NOEDITSECTION__' ],
41 'currentmonth' => [ '1', 'NUMARLUNACURENTA', 'CURRENTMONTH', 'CURRENTMONTH2' ],
42 'currentmonth1' => [ '1', 'LUNACURENTA1', 'CURRENTMONTH1' ],
43 'currentmonthname' => [ '1', 'NUMELUNACURENTA', 'CURRENTMONTHNAME' ],
44 'currentmonthnamegen' => [ '1', 'NUMELUNACURENTAGEN', 'CURRENTMONTHNAMEGEN' ],
45 'currentmonthabbrev' => [ '1', 'LUNACURENTAABREV', 'CURRENTMONTHABBREV' ],
46 'currentday' => [ '1', 'NUMARZIUACURENTA', 'CURRENTDAY' ],
47 'currentday2' => [ '1', 'NUMARZIUACURENTA2', 'CURRENTDAY2' ],
48 'currentdayname' => [ '1', 'NUMEZIUACURENTA', 'CURRENTDAYNAME' ],
49 'currentyear' => [ '1', 'ANULCURENT', 'CURRENTYEAR' ],
50 'currenttime' => [ '1', 'TIMPULCURENT', 'CURRENTTIME' ],
51 'currenthour' => [ '1', 'ORACURENTA', 'CURRENTHOUR' ],
52 'localmonth' => [ '1', 'LUNALOCALA', 'LUNALOCALA2', 'LOCALMONTH', 'LOCALMONTH2' ],
53 'localmonth1' => [ '1', 'LUNALOCALA1', 'LOCALMONTH1' ],
54 'localmonthname' => [ '1', 'NUMELUNALOCALA', 'LOCALMONTHNAME' ],
55 'localmonthnamegen' => [ '1', 'NUMELUNALOCALAGEN', 'LOCALMONTHNAMEGEN' ],
56 'localmonthabbrev' => [ '1', 'LUNALOCALAABREV', 'LOCALMONTHABBREV' ],
57 'localday' => [ '1', 'ZIUALOCALA', 'LOCALDAY' ],
58 'localday2' => [ '1', 'ZIUALOCALA2', 'LOCALDAY2' ],
59 'localdayname' => [ '1', 'NUMEZIUALOCALA', 'LOCALDAYNAME' ],
60 'localyear' => [ '1', 'ANULLOCAL', 'LOCALYEAR' ],
61 'localtime' => [ '1', 'TIMPULLOCAL', 'LOCALTIME' ],
62 'localhour' => [ '1', 'ORALOCALA', 'LOCALHOUR' ],
63 'numberofpages' => [ '1', 'NUMARDEPAGINI', 'NUMBEROFPAGES' ],
64 'numberofarticles' => [ '1', 'NUMARDEARTICOLE', 'NUMBEROFARTICLES' ],
65 'numberoffiles' => [ '1', 'NUMARDEFISIERE', 'NUMBEROFFILES' ],
66 'numberofusers' => [ '1', 'NUMARDEUTILIZATORI', 'NUMBEROFUSERS' ],
67 'numberofactiveusers' => [ '1', 'NUMARDEUTILIZATORIACTIVI', 'NUMBEROFACTIVEUSERS' ],
68 'numberofedits' => [ '1', 'NUMARDEMODIFICARI', 'NUMBEROFEDITS' ],
69 'pagename' => [ '1', 'NUMEPAGINA', 'PAGENAME' ],
70 'pagenamee' => [ '1', 'NUMEEPAGINA', 'PAGENAMEE' ],
71 'namespace' => [ '1', 'SPATIUDENUME', 'NAMESPACE' ],
72 'namespacee' => [ '1', 'SPATIUUDENUME', 'NAMESPACEE' ],
73 'talkspace' => [ '1', 'SPATIUDEDISCUTIE', 'TALKSPACE' ],
74 'talkspacee' => [ '1', 'SPATIUUDEDISCUTIE', 'TALKSPACEE' ],
75 'subjectspace' => [ '1', 'SPATIUSUBIECT', 'SPATIUARTICOL', 'SUBJECTSPACE', 'ARTICLESPACE' ],
76 'subjectspacee' => [ '1', 'SPATIUUSUBIECT', 'SPATIUUARTICOL', 'SUBJECTSPACEE', 'ARTICLESPACEE' ],
77 'fullpagename' => [ '1', 'NUMEPAGINACOMPLET', 'FULLPAGENAME' ],
78 'fullpagenamee' => [ '1', 'NUMEEPAGINACOMPLET', 'FULLPAGENAMEE' ],
79 'subpagename' => [ '1', 'NUMESUBPAGINA', 'SUBPAGENAME' ],
80 'subpagenamee' => [ '1', 'NUMEESUBPAGINA', 'SUBPAGENAMEE' ],
81 'basepagename' => [ '1', 'NUMEDEBAZAPAGINA', 'BASEPAGENAME' ],
82 'basepagenamee' => [ '1', 'NUMEEDEBAZAPAGINA', 'BASEPAGENAMEE' ],
83 'talkpagename' => [ '1', 'NUMEPAGINADEDISCUTIE', 'TALKPAGENAME' ],
84 'talkpagenamee' => [ '1', 'NUMEEPAGINADEDISCUTIE', 'TALKPAGENAMEE' ],
85 'subjectpagename' => [ '1', 'NUMEPAGINASUBIECT', 'NUMEPAGINAARTICOL', 'SUBJECTPAGENAME', 'ARTICLEPAGENAME' ],
86 'subjectpagenamee' => [ '1', 'NUMEEPAGINASUBIECT', 'NUMEEPAGINAARTICOL', 'SUBJECTPAGENAMEE', 'ARTICLEPAGENAMEE' ],
87 'msg' => [ '0', 'MSJ:', 'MSG:' ],
88 'msgnw' => [ '0', 'MSJNOU:', 'MSGNW:' ],
89 'img_thumbnail' => [ '1', 'miniatura', 'mini', 'thumb', 'thumbnail' ],
90 'img_manualthumb' => [ '1', 'miniatura=$1', 'mini=$1', 'thumbnail=$1', 'thumb=$1' ],
91 'img_right' => [ '1', 'dreapta', 'right' ],
92 'img_left' => [ '1', 'stanga', 'left' ],
93 'img_none' => [ '1', 'nu', 'none' ],
94 'img_center' => [ '1', 'centru', 'center', 'centre' ],
95 'img_framed' => [ '1', 'cadru', 'frame', 'framed', 'enframed' ],
96 'img_frameless' => [ '1', 'faracadru', 'frameless' ],
97 'img_page' => [ '1', 'pagina=$1', 'pagina $1', 'page=$1', 'page $1' ],
98 'img_upright' => [ '1', 'dreaptasus', 'dreaptasus=$1', 'dreaptasus $1', 'upright', 'upright=$1', 'upright $1' ],
99 'img_border' => [ '1', 'chenar', 'border' ],
100 'img_baseline' => [ '1', 'linia_de_bază', 'baseline' ],
101 'img_sub' => [ '1', 'indice', 'sub' ],
102 'img_super' => [ '1', 'exponent', 'super', 'sup' ],
103 'img_top' => [ '1', 'sus', 'top' ],
104 'img_text_top' => [ '1', 'text-sus', 'text-top' ],
105 'img_middle' => [ '1', 'mijloc', 'middle' ],
106 'img_bottom' => [ '1', 'jos', 'bottom' ],
107 'img_text_bottom' => [ '1', 'text-jos', 'text-bottom' ],
108 'img_link' => [ '1', 'legătură=$1', 'link=$1' ],
109 'sitename' => [ '1', 'NUMESITE', 'SITENAME' ],
110 'ns' => [ '0', 'SN:', 'NS:' ],
111 'localurl' => [ '0', 'URLLOCAL:', 'LOCALURL:' ],
112 'localurle' => [ '0', 'URLLOCALE:', 'LOCALURLE:' ],
113 'servername' => [ '0', 'NUMESERVER', 'SERVERNAME' ],
114 'scriptpath' => [ '0', 'CALESCRIPT', 'SCRIPTPATH' ],
115 'grammar' => [ '0', 'GRAMATICA:', 'GRAMMAR:' ],
116 'gender' => [ '0', 'GEN:', 'GENDER:' ],
117 'notitleconvert' => [ '0', '__FARACONVERTIRETITLU__', '__FCT__', '__NOTITLECONVERT__', '__NOTC__' ],
118 'nocontentconvert' => [ '0', '__FARACONVERTIRECONTINUT__', '__FCC__', '__NOCONTENTCONVERT__', '__NOCC__' ],
119 'currentweek' => [ '1', 'SAPTAMANACURENTA', 'CURRENTWEEK' ],
120 'localweek' => [ '1', 'SAPTAMANALOCALA', 'LOCALWEEK' ],
121 'revisionid' => [ '1', 'IDREVIZIE', 'REVISIONID' ],
122 'revisionday' => [ '1', 'ZIREVIZIE', 'REVISIONDAY' ],
123 'revisionday2' => [ '1', 'ZIREVIZIE2', 'REVISIONDAY2' ],
124 'revisionmonth' => [ '1', 'LUNAREVIZIE', 'REVISIONMONTH' ],
125 'revisionyear' => [ '1', 'ANREVIZIE', 'REVISIONYEAR' ],
126 'revisiontimestamp' => [ '1', 'STAMPILATIMPREVIZIE', 'REVISIONTIMESTAMP' ],
127 'revisionuser' => [ '1', 'UTILIZATORREVIZIE', 'REVISIONUSER' ],
128 'fullurl' => [ '0', 'URLCOMPLET:', 'FULLURL:' ],
129 'fullurle' => [ '0', 'URLCOMPLETE:', 'FULLURLE:' ],
130 'lcfirst' => [ '0', 'MINUSCULAPRIMA:', 'LCFIRST:' ],
131 'ucfirst' => [ '0', 'MAJUSCULAPRIMA:', 'UCFIRST:' ],
132 'lc' => [ '0', 'MINUSCULA:', 'LC:' ],
133 'uc' => [ '0', 'MAJUSCULA:', 'UC:' ],
134 'raw' => [ '0', 'BRUT:', 'RAW:' ],
135 'displaytitle' => [ '1', 'ARATATITLU', 'DISPLAYTITLE' ],
136 'newsectionlink' => [ '1', '__LEGATURASECTIUNENOUA__', '__NEWSECTIONLINK__' ],
137 'nonewsectionlink' => [ '1', '__FARALEGATURASECTIUNENOUA__', '__NONEWSECTIONLINK__' ],
138 'currentversion' => [ '1', 'VERSIUNECURENTA', 'CURRENTVERSION' ],
139 'urlencode' => [ '0', 'CODIFICAREURL:', 'URLENCODE:' ],
140 'anchorencode' => [ '0', 'CODIFICAREANCORA', 'ANCHORENCODE' ],
141 'currenttimestamp' => [ '1', 'STAMPILATIMPCURENT', 'CURRENTTIMESTAMP' ],
142 'localtimestamp' => [ '1', 'STAMPILATIMPLOCAL', 'LOCALTIMESTAMP' ],
143 'directionmark' => [ '1', 'SEMNDIRECTIE', 'DIRECTIONMARK', 'DIRMARK' ],
144 'language' => [ '0', '#LIMBA:', '#LANGUAGE:' ],
145 'contentlanguage' => [ '1', 'LIMBACONTINUT', 'CONTENTLANGUAGE', 'CONTENTLANG' ],
146 'pagesinnamespace' => [ '1', 'PANIGIINSPATIULDENUME:', 'PAGINIINSN:', 'PAGESINNAMESPACE:', 'PAGESINNS:' ],
147 'numberofadmins' => [ '1', 'NUMARADMINI', 'NUMBEROFADMINS' ],
148 'formatnum' => [ '0', 'FORMATNR', 'FORMATNUM' ],
149 'defaultsort' => [ '1', 'SORTAREIMPLICITA:', 'CHEIESORTAREIMPLICITA:', 'CATEGORIESORTAREIMPLICITA:', 'DEFAULTSORT:', 'DEFAULTSORTKEY:', 'DEFAULTCATEGORYSORT:' ],
150 'filepath' => [ '0', 'CALEAFISIERULUI:', 'FILEPATH:' ],
151 'tag' => [ '0', 'eticheta', 'tag' ],
152 'hiddencat' => [ '1', '__ASCUNDECAT__', '__HIDDENCAT__' ],
153 'pagesincategory' => [ '1', 'PAGINIINCATEGORIE', 'PAGINIINCAT', 'PAGESINCATEGORY', 'PAGESINCAT' ],
154 'pagesize' => [ '1', 'MARIMEPAGINA', 'PAGESIZE' ],
155 'noindex' => [ '1', '__FARAINDEX__', '__NOINDEX__' ],
156 'numberingroup' => [ '1', 'NUMARINGRUP', 'NUMINGRUP', 'NUMBERINGROUP', 'NUMINGROUP' ],
157 'staticredirect' => [ '1', '__REDIRECTIONARESTATICA__', '__STATICREDIRECT__' ],
158 'protectionlevel' => [ '1', 'NIVELPROTECTIE', 'PROTECTIONLEVEL' ],
159 'formatdate' => [ '0', 'formatdata', 'dataformat', 'formatdate', 'dateformat' ],
160];
161
163 NS_MEDIA => 'Media',
164 NS_SPECIAL => 'Special',
165 NS_TALK => 'Discuție',
166 NS_USER => 'Utilizator',
167 NS_USER_TALK => 'Discuție_Utilizator',
168 NS_PROJECT_TALK => 'Discuție_$1',
169 NS_FILE => 'Fișier',
170 NS_FILE_TALK => 'Discuție_Fișier',
171 NS_MEDIAWIKI => 'MediaWiki',
172 NS_MEDIAWIKI_TALK => 'Discuție_MediaWiki',
173 NS_TEMPLATE => 'Format',
174 NS_TEMPLATE_TALK => 'Discuție_Format',
175 NS_HELP => 'Ajutor',
176 NS_HELP_TALK => 'Discuție_Ajutor',
177 NS_CATEGORY => 'Categorie',
178 NS_CATEGORY_TALK => 'Discuție_Categorie',
179];
180
182 'Discuţie' => NS_TALK,
183 'Discuţie_Utilizator' => NS_USER_TALK,
184 'Discuţie_$1' => NS_PROJECT_TALK,
185 'Imagine' => NS_FILE,
186 'Discuţie_Imagine' => NS_FILE_TALK,
187 'Fişier' => NS_FILE,
188 'Discuţie_Fişier' => NS_FILE_TALK,
189 'Discuţie_MediaWiki' => NS_MEDIAWIKI_TALK,
190 'Discuţie_Format' => NS_TEMPLATE_TALK,
191 'Discuţie_Ajutor' => NS_HELP_TALK,
192 'Discuţie_Categorie' => NS_CATEGORY_TALK,
193];
194
196 'Activeusers' => [ 'Utilizatori_activi' ],
197 'Allmessages' => [ 'Toate_mesajele' ],
198 'Allpages' => [ 'Toate_paginile' ],
199 'Ancientpages' => [ 'Pagini_vechi' ],
200 'Blankpage' => [ 'Pagină_goală' ],
201 'Block' => [ 'Blochează_IP' ],
202 'Booksources' => [ 'Referințe_în_cărți' ],
203 'BrokenRedirects' => [ 'Redirectări_invalide' ],
204 'Categories' => [ 'Categorii' ],
205 'ChangePassword' => [ 'Resetează_parola' ],
206 'Confirmemail' => [ 'Confirmă_email' ],
207 'Contributions' => [ 'Contribuții' ],
208 'CreateAccount' => [ 'Înregistrare' ],
209 'Deadendpages' => [ 'Pagini_fără_legături' ],
210 'DeletedContributions' => [ 'Contribuții_șterse' ],
211 'DoubleRedirects' => [ 'Redirectări_duble' ],
212 'Emailuser' => [ 'Email_utilizator' ],
213 'Export' => [ 'Exportă' ],
214 'Fewestrevisions' => [ 'Revizii_puține' ],
215 'FileDuplicateSearch' => [ 'Căutare_fișier_duplicat' ],
216 'Filepath' => [ 'Cale_fișier' ],
217 'Import' => [ 'Importă' ],
218 'Invalidateemail' => [ 'Invalidează_email' ],
219 'BlockList' => [ 'Listă_IP_blocat' ],
220 'LinkSearch' => [ 'Căutare_legături' ],
221 'Listadmins' => [ 'Listă_administratori' ],
222 'Listbots' => [ 'Listă_roboți' ],
223 'Listfiles' => [ 'Listă_fișiere' ],
224 'Listgrouprights' => [ 'Listă_drepturi_grup' ],
225 'Listredirects' => [ 'Listă_redirectări' ],
226 'Listusers' => [ 'Listă_utilizatori' ],
227 'Lockdb' => [ 'Blochează_BD' ],
228 'Log' => [ 'Jurnal', 'Jurnale' ],
229 'Lonelypages' => [ 'Pagini_orfane' ],
230 'Longpages' => [ 'Pagini_lungi' ],
231 'MergeHistory' => [ 'Istoria_combinărilor' ],
232 'MIMEsearch' => [ 'Căutare_MIME' ],
233 'Mostcategories' => [ 'Categorii_multe' ],
234 'Mostimages' => [ 'Imagini_multe' ],
235 'Mostlinked' => [ 'Legături_multe' ],
236 'Mostlinkedcategories' => [ 'Categorii_des_folosite' ],
237 'Mostlinkedtemplates' => [ 'Formate_des_folosite' ],
238 'Mostrevisions' => [ 'Revizii_multe' ],
239 'Movepage' => [ 'Mută_pagina' ],
240 'Mycontributions' => [ 'Contribuțiile_mele' ],
241 'Mypage' => [ 'Pagina_mea' ],
242 'Mytalk' => [ 'Discuțiile_mele' ],
243 'Newimages' => [ 'Imagini_noi' ],
244 'Newpages' => [ 'Pagini_noi' ],
245 'PasswordReset' => [ 'Resetare_parolă' ],
246 'Preferences' => [ 'Preferințe' ],
247 'Prefixindex' => [ 'Index' ],
248 'Protectedpages' => [ 'Pagini_protejate' ],
249 'Protectedtitles' => [ 'Titluri_protejate' ],
250 'Randompage' => [ 'Aleatoriu', 'Pagină_aleatorie' ],
251 'Randomredirect' => [ 'Redirectare_aleatorie' ],
252 'Recentchanges' => [ 'Schimbări_recente' ],
253 'Recentchangeslinked' => [ 'Modificări_corelate' ],
254 'Revisiondelete' => [ 'Şterge_revizie' ],
255 'Search' => [ 'Căutare' ],
256 'Shortpages' => [ 'Pagini_scurte' ],
257 'Specialpages' => [ 'Pagini_speciale' ],
258 'Statistics' => [ 'Statistici' ],
259 'Tags' => [ 'Etichete' ],
260 'Uncategorizedcategories' => [ 'Categorii_necategorizate' ],
261 'Uncategorizedimages' => [ 'Imagini_necategorizate' ],
262 'Uncategorizedpages' => [ 'Pagini_necategorizate' ],
263 'Uncategorizedtemplates' => [ 'Formate_necategorizate' ],
264 'Undelete' => [ 'Restaurează' ],
265 'Unlockdb' => [ 'Deblochează_BD' ],
266 'Unusedcategories' => [ 'Categorii_nefolosite' ],
267 'Unusedimages' => [ 'Imagini_nefolosite' ],
268 'Unusedtemplates' => [ 'Formate_nefolosite' ],
269 'Unwatchedpages' => [ 'Pagini_neurmărite' ],
270 'Upload' => [ 'Încărcare' ],
271 'Userlogin' => [ 'Autentificare' ],
272 'Userlogout' => [ 'Ieșire' ],
273 'Userrights' => [ 'Drepturi_utilizator' ],
274 'Version' => [ 'Versiune' ],
275 'Wantedcategories' => [ 'Categorii_dorite' ],
276 'Wantedfiles' => [ 'Fișiere_dorite' ],
277 'Wantedpages' => [ 'Pagini_dorite', 'Legături_invalide' ],
278 'Wantedtemplates' => [ 'Formate_dorite' ],
279 'Watchlist' => [ 'Pagini_urmărite' ],
280 'Whatlinkshere' => [ 'Ce_se_leagă_aici' ],
281 'Withoutinterwiki' => [ 'Fără_legături_interwiki' ],
282];
283
287 'dmy time' => 'H:i',
288 'dmy date' => 'j F Y',
289 'dmy both' => 'j F Y H:i',
290];
291
293
294$linkTrail = '/^([a-zăâîşţșțĂÂÎŞŢȘȚ]+)(.*)$/sDu';
$defaultDateFormat
$dateFormats
$namespaceAliases
$linkTrail
$datePreferences
$namespaceNames
$separatorTransformTable
$specialPageAliases
$fallback8bitEncoding
$magicWords
const NS_HELP
Definition Defines.php:86
const NS_USER
Definition Defines.php:76
const NS_FILE
Definition Defines.php:80
const NS_MEDIAWIKI_TALK
Definition Defines.php:83
const NS_PROJECT_TALK
Definition Defines.php:79
const NS_MEDIAWIKI
Definition Defines.php:82
const NS_TEMPLATE
Definition Defines.php:84
const NS_SPECIAL
Definition Defines.php:63
const NS_FILE_TALK
Definition Defines.php:81
const NS_HELP_TALK
Definition Defines.php:87
const NS_CATEGORY_TALK
Definition Defines.php:89
const NS_MEDIA
Definition Defines.php:62
const NS_TALK
Definition Defines.php:75
const NS_USER_TALK
Definition Defines.php:77
const NS_CATEGORY
Definition Defines.php:88
const NS_TEMPLATE_TALK
Definition Defines.php:85
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