MediaWiki  1.30.0
ParserFunctions.i18n.magic.php
Go to the documentation of this file.
1 <?php
10 
12 $magicWords['en'] = [
13  'expr' => [ 0, 'expr' ],
14  'if' => [ 0, 'if' ],
15  'ifeq' => [ 0, 'ifeq' ],
16  'ifexpr' => [ 0, 'ifexpr' ],
17  'iferror' => [ 0, 'iferror' ],
18  'switch' => [ 0, 'switch' ],
19  'default' => [ 0, '#default' ],
20  'ifexist' => [ 0, 'ifexist' ],
21  'time' => [ 0, 'time' ],
22  'timel' => [ 0, 'timel' ],
23  'rel2abs' => [ 0, 'rel2abs' ],
24  'titleparts' => [ 0, 'titleparts' ],
25  'len' => [ 0, 'len' ],
26  'pos' => [ 0, 'pos' ],
27  'rpos' => [ 0, 'rpos' ],
28  'sub' => [ 0, 'sub' ],
29  'count' => [ 0, 'count' ],
30  'replace' => [ 0, 'replace' ],
31  'explode' => [ 0, 'explode' ],
32  'urldecode' => [ 0, 'urldecode' ],
33 ];
34 
36 $magicWords['ar'] = [
37  'expr' => [ 0, 'تعبير' ],
38  'if' => [ 0, 'لو' ],
39  'ifeq' => [ 0, 'لومعادلة' ],
40  'ifexpr' => [ 0, 'لوتعبير' ],
41  'iferror' => [ 0, 'لوخطأ' ],
42  'switch' => [ 0, 'تبديل' ],
43  'default' => [ 0, '#افتراضي' ],
44  'ifexist' => [ 0, 'لوموجود' ],
45  'time' => [ 0, 'وقت' ],
46  'timel' => [ 0, 'تيمل' ],
47  'rel2abs' => [ 0, 'ريلتوآبس' ],
48  'titleparts' => [ 0, 'أجزاء_العنوان' ],
49  'len' => [ 0, 'لين' ],
50  'pos' => [ 0, 'بوس' ],
51  'rpos' => [ 0, 'آربوس' ],
52  'sub' => [ 0, 'متفرع' ],
53  'count' => [ 0, 'عدد' ],
54  'replace' => [ 0, 'استبدال' ],
55  'explode' => [ 0, 'انفجار' ],
56  'urldecode' => [ 0, 'فك_مسار' ],
57 ];
58 
60 $magicWords['arz'] = [
61  'expr' => [ 0, 'تعبير' ],
62  'if' => [ 0, 'لو' ],
63  'ifeq' => [ 0, 'لومعادلة' ],
64  'ifexpr' => [ 0, 'لوتعبير' ],
65  'iferror' => [ 0, 'لوخطأ' ],
66  'switch' => [ 0, 'تبديل' ],
67  'default' => [ 0, '#افتراضي' ],
68  'ifexist' => [ 0, 'لوموجود' ],
69  'time' => [ 0, 'وقت' ],
70  'timel' => [ 0, 'تيمل' ],
71  'rel2abs' => [ 0, 'ريلتوآبس' ],
72  'titleparts' => [ 0, 'أجزاء_العنوان' ],
73  'len' => [ 0, 'لين' ],
74  'pos' => [ 0, 'بوس' ],
75  'rpos' => [ 0, 'آربوس' ],
76  'sub' => [ 0, 'متفرع' ],
77  'count' => [ 0, 'عدد' ],
78  'replace' => [ 0, 'استبدال' ],
79  'explode' => [ 0, 'انفجار' ],
80  'urldecode' => [ 0, 'فك_مسار' ],
81 ];
82 
84 $magicWords['azb'] = [
85  'ifeq' => [ 0, 'ایربیر' ],
86  'ifexpr' => [ 0, 'ایرحساب' ],
87  'iferror' => [ 0, 'ایریالنیش' ],
88  'ifexist' => [ 0, 'ایراولسا' ],
89 ];
90 
92 $magicWords['br'] = [
93  'time' => [ 0, 'amzer' ],
94  'count' => [ 0, 'kontañ' ],
95  'replace' => [ 0, 'erlec\'hiañ' ],
96 ];
97 
99 $magicWords['ce'] = [
100  'time' => [ 0, 'хан' ],
101  'replace' => [ 0, 'хийцарна', 'замена' ],
102 ];
103 
105 $magicWords['cs'] = [
106  'expr' => [ 0, 'výraz' ],
107  'if' => [ 0, 'když' ],
108  'ifexist' => [ 0, 'kdyžexist' ],
109  'time' => [ 0, 'čas' ],
110  'len' => [ 0, 'délka' ],
111  'count' => [ 0, 'počet' ],
112  'replace' => [ 0, 'nahradit' ],
113 ];
114 
116 $magicWords['cv'] = [
117  'expr' => [ 0, 'expr' ],
118  'if' => [ 0, 'if' ],
119  'ifeq' => [ 0, 'ifeq' ],
120  'ifexpr' => [ 0, 'ifexpr' ],
121  'iferror' => [ 0, 'iferror' ],
122  'switch' => [ 0, 'switch' ],
123  'default' => [ 0, '#default' ],
124  'ifexist' => [ 0, 'ifexist' ],
125  'time' => [ 0, 'time' ],
126  'timel' => [ 0, 'timel' ],
127  'rel2abs' => [ 0, 'rel2abs' ],
128  'titleparts' => [ 0, 'titleparts' ],
129  'len' => [ 0, 'len' ],
130  'pos' => [ 0, 'pos' ],
131  'rpos' => [ 0, 'rpos' ],
132  'sub' => [ 0, 'sub' ],
133  'count' => [ 0, 'count' ],
134  'replace' => [ 0, 'replace' ],
135  'explode' => [ 0, 'explode' ],
136  'urldecode' => [ 0, 'urldecode' ],
137 ];
138 
140 $magicWords['de'] = [
141  'switch' => [ 0, 'wechsle' ],
142  'default' => [ 0, '#standard' ],
143  'count' => [ 0, 'zähle' ],
144  'replace' => [ 0, 'ersetze' ],
145  'urldecode' => [ 0, 'URLDEKODIERT:' ],
146 ];
147 
149 $magicWords['diq'] = [
150  'expr' => [ 0, 'ifade' ],
151  'if' => [ 0, 'se' ],
152  'ifeq' => [ 0, 'sek' ],
153  'ifexpr' => [ 0, 'ifadeyose' ],
154  'iferror' => [ 0, 'çınyose' ],
155  'switch' => [ 0, 'rayek' ],
156  'default' => [ 0, '#hesıbyaye' ],
157  'time' => [ 0, 'zeman' ],
158  'sub' => [ 0, 'bın' ],
159  'count' => [ 0, 'hesabk' ],
160  'replace' => [ 0, 'vırnayen' ],
161 ];
162 
164 $magicWords['eo'] = [
165  'expr' => [ 0, 'espr', 'esprimo', 'esprime' ],
166  'if' => [ 0, 'se' ],
167  'ifeq' => [ 0, 'seekv', 'seekvacio', 'seeglas', 'laŭsamvalorade', 'lauxsamvalorade' ],
168  'ifexpr' => [ 0, 'seespr', 'seeksprimo', 'seesprimo', 'laŭevaluade', 'laŭevaluade' ],
169  'iferror' => [ 0, 'seeraras', 'laŭerarade', 'lauxerarade' ],
170  'switch' => [ 0, 'ŝaltu', 'ŝalti', 'sxaltu', 'sxalti', 'ŝalte', 'sxalte' ],
171  'default' => [ 0, '#apriore', '#defaŭlte', '#defauxlte' ],
172  'ifexist' => [ 0, 'seekzistas', 'laŭasignade', 'lauxasignade' ],
173  'time' => [ 0, 'tempo', 'datformu' ],
174  'timel' => [ 0, 'tempoo', 'lokaĵdatdonu', 'lokajxdatdonu' ],
175  'len' => [ 0, 'lungo', 'longo', 'longdonu', 'pesu', 'pese' ],
176  'replace' => [ 0, 'anstataŭigi', 'anstataŭigu', 'anstatauxigi', 'anstatauxigu' ],
177  'rel2abs' => [ 0, 'absolutvojdonu', 'malrelativige' ],
178  'titleparts' => [ 0, 'titolpartdonu' ],
179  'pos' => [ 0, 'ejdonu', 'lokdonu' ],
180  'rpos' => [ 0, 'lastejdonu', 'lastlokdonu' ],
181  'sub' => [ 0, 'subĉendonu', 'subcxendonu' ],
182  'count' => [ 0, 'subĉennombru', 'subcxennombru' ],
183  'explode' => [ 0, 'disĉenigu' ],
184  'urldecode' => [ 0, 'URL-malkodu', 'URI-malkodu' ],
185 ];
186 
188 $magicWords['es'] = [
189  'if' => [ 0, 'si' ],
190  'ifeq' => [ 0, 'siigual' ],
191  'ifexpr' => [ 0, 'siexpr' ],
192  'iferror' => [ 0, 'sierror' ],
193  'switch' => [ 0, 'según' ],
194  'default' => [ 0, '#predeterminado' ],
195  'ifexist' => [ 0, 'siexiste' ],
196  'time' => [ 0, 'tiempo' ],
197  'timel' => [ 0, 'tiempol' ],
198  'len' => [ 0, 'long', 'longitud' ],
199  'replace' => [ 0, 'reemplazar' ],
200  'explode' => [ 0, 'separar' ],
201 ];
202 
204 $magicWords['fa'] = [
205  'expr' => [ 0, 'حساب' ],
206  'if' => [ 0, 'اگر' ],
207  'ifeq' => [ 0, 'اگرمساوی' ],
208  'ifexpr' => [ 0, 'اگرحساب' ],
209  'iferror' => [ 0, 'اگرخطا' ],
210  'switch' => [ 0, 'گزینه' ],
211  'default' => [ 0, '#پیش‌فرض' ],
212  'ifexist' => [ 0, 'اگرموجود' ],
213  'time' => [ 0, 'زمان' ],
214  'timel' => [ 0, 'زمان‌بلند' ],
215  'rel2abs' => [ 0, 'نسبی‌به‌مطلق' ],
216  'titleparts' => [ 0, 'پاره‌عنوان' ],
217  'len' => [ 0, 'طول' ],
218  'pos' => [ 0, 'جا' ],
219  'rpos' => [ 0, 'جار' ],
220  'sub' => [ 0, 'تکه' ],
221  'count' => [ 0, 'شمار' ],
222  'replace' => [ 0, 'جایگزین' ],
223  'explode' => [ 0, 'گسترش' ],
224  'urldecode' => [ 0, 'نشانی‌بی‌کد' ],
225 ];
226 
228 $magicWords['fr'] = [
229  'expr' => [ 0, 'expr' ],
230  'if' => [ 0, 'si' ],
231  'ifeq' => [ 0, 'si=' ],
232  'ifexpr' => [ 0, 'siexpr' ],
233  'iferror' => [ 0, 'sierreur' ],
234  'switch' => [ 0, 'selon' ],
235  'default' => [ 0, '#défaut' ],
236  'ifexist' => [ 0, 'siexiste' ],
237  'time' => [ 0, 'heure' ],
238  'timel' => [ 0, 'heurel' ],
239  'rel2abs' => [ 0, 'relenabs' ],
240  'titleparts' => [ 0, 'partiestitre' ],
241  'len' => [ 0, 'nbcar' ],
242  'pos' => [ 0, 'pos' ],
243  'rpos' => [ 0, 'posr' ],
244  'sub' => [ 0, 'stxt' ],
245  'count' => [ 0, 'nb' ],
246  'replace' => [ 0, 'remplacer' ],
247  'explode' => [ 0, 'exploser' ],
248  'urldecode' => [ 0, 'décoderurl', 'decodeurl' ],
249 ];
250 
252 $magicWords['fy'] = [
253  'expr' => [ 0, 'ekspresje' ],
254  'if' => [ 0, 'as' ],
255  'ifeq' => [ 0, 'asgelyk' ],
256  'ifexpr' => [ 0, 'asekspresje' ],
257  'iferror' => [ 0, 'asflater' ],
258  'switch' => [ 0, 'skeakelje' ],
259  'default' => [ 0, '#standert' ],
260  'ifexist' => [ 0, 'asbestiet' ],
261  'time' => [ 0, 'tiid' ],
262  'timel' => [ 0, 'tiidl' ],
263 ];
264 
266 $magicWords['he'] = [
267  'expr' => [ 0, 'חשב' ],
268  'if' => [ 0, 'תנאי' ],
269  'ifeq' => [ 0, 'שווה' ],
270  'ifexpr' => [ 0, 'חשב תנאי' ],
271  'iferror' => [ 0, 'תנאי שגיאה' ],
272  'switch' => [ 0, 'בחר' ],
273  'default' => [ 0, '#ברירת מחדל' ],
274  'ifexist' => [ 0, 'קיים' ],
275  'time' => [ 0, 'זמן' ],
276  'timel' => [ 0, 'זמןמ' ],
277  'rel2abs' => [ 0, 'יחסי למוחלט' ],
278  'titleparts' => [ 0, 'חלק בכותרת' ],
279  'count' => [ 0, 'מספר' ],
280 ];
281 
283 $magicWords['hi'] = [
284  'expr' => [ 0, 'सूत्र' ],
285  'if' => [ 0, 'यदि' ],
286  'ifeq' => [ 0, 'यदिसम', 'यदि_समान', 'यदि_बराबर' ],
287  'ifexpr' => [ 0, 'यदि_सूत्र' ],
288  'iferror' => [ 0, 'यदि_त्रुटि' ],
289  'switch' => [ 0, 'बदलें' ],
290  'default' => [ 0, '#मूल' ],
291  'ifexist' => [ 0, 'यदि_मौजूद' ],
292  'time' => [ 0, 'समय' ],
293  'timel' => [ 0, 'समय_स्थानीय' ],
294  'rel2abs' => [ 0, 'सम्बन्धित_से_पूर्ण', 'संबंधित_से_पूर्ण' ],
295  'titleparts' => [ 0, 'शीर्षक_भाग' ],
296 ];
297 
299 $magicWords['hu'] = [
300  'expr' => [ 0, 'kif', 'expr' ],
301  'if' => [ 0, 'ha', 'if' ],
302  'ifeq' => [ 0, 'haegyenlő', 'ifeq' ],
303  'ifexpr' => [ 0, 'hakif', 'ifexpr' ],
304  'iferror' => [ 0, 'hahibás', 'iferror' ],
305  'default' => [ 0, '#alapértelmezett', '#default' ],
306  'ifexist' => [ 0, 'halétezik', 'ifexist' ],
307  'time' => [ 0, 'idő', 'time' ],
308  'len' => [ 0, 'hossz', 'len' ],
309  'pos' => [ 0, 'pozíció', 'pos' ],
310  'rpos' => [ 0, 'jpozíció', 'rpos' ],
311 ];
312 
314 $magicWords['id'] = [
315  'expr' => [ 0, 'hitung' ],
316  'if' => [ 0, 'jika' ],
317  'ifeq' => [ 0, 'jikasama' ],
318  'ifexpr' => [ 0, 'jikahitung' ],
319  'iferror' => [ 0, 'jikasalah' ],
320  'switch' => [ 0, 'pilih' ],
321  'default' => [ 0, '#baku' ],
322  'ifexist' => [ 0, 'jikaada' ],
323  'time' => [ 0, 'waktu' ],
324  'timel' => [ 0, 'waktu1' ],
325  'titleparts' => [ 0, 'bagianjudul' ],
326 ];
327 
329 $magicWords['ig'] = [
330  'if' => [ 0, 'ȯ_bú', 'if' ],
331  'time' => [ 0, 'ógè', 'time' ],
332  'timel' => [ 0, 'ógèl', 'timel' ],
333 ];
334 
336 $magicWords['it'] = [
337  'expr' => [ 0, 'espr' ],
338  'if' => [ 0, 'se' ],
339  'ifeq' => [ 0, 'seeq' ],
340  'ifexpr' => [ 0, 'seespr' ],
341  'iferror' => [ 0, 'seerrore' ],
342  'ifexist' => [ 0, 'seesiste' ],
343  'time' => [ 0, 'tempo' ],
344  'titleparts' => [ 0, 'patititolo' ],
345  'count' => [ 0, 'conto' ],
346  'replace' => [ 0, 'sostituisci' ],
347 ];
348 
350 $magicWords['ja'] = [
351  'expr' => [ 0, '式' ],
352  'if' => [ 0, 'もし' ],
353  'ifeq' => [ 0, 'もし等しい' ],
354  'ifexpr' => [ 0, 'もし式' ],
355  'iferror' => [ 0, 'もしエラー' ],
356  'switch' => [ 0, '切り替え' ],
357  'default' => [ 0, '#既定' ],
358  'ifexist' => [ 0, 'もし存在' ],
359  'time' => [ 0, '時間' ],
360  'timel' => [ 0, '時間地方' ],
361  'rel2abs' => [ 0, '参照から絶対' ],
362  'titleparts' => [ 0, 'タイトル部分' ],
363  'len' => [ 0, '長さ' ],
364  'pos' => [ 0, '位置' ],
365  'rpos' => [ 0, '最後の位置' ],
366  'sub' => [ 0, '切り取り' ],
367  'count' => [ 0, '回数' ],
368  'replace' => [ 0, '置き換え' ],
369  'explode' => [ 0, '分割' ],
370  'urldecode' => [ 0, 'URLデコード', 'URLデコード' ],
371 ];
372 
374 $magicWords['ka'] = [
375  'time' => [ 0, 'დრო' ],
376 ];
377 
379 $magicWords['ko'] = [
380  'expr' => [ 0, '수식' ],
381  'if' => [ 0, '만약' ],
382  'ifeq' => [ 0, '만약일치' ],
383  'ifexpr' => [ 0, '만약계산' ],
384  'iferror' => [ 0, '만약오류' ],
385  'switch' => [ 0, '스위치' ],
386  'default' => [ 0, '#기본값' ],
387  'ifexist' => [ 0, '만약존재' ],
388  'time' => [ 0, '시간' ],
389  'timel' => [ 0, '현지시간' ],
390  'rel2abs' => [ 0, '상대를절대로' ],
391  'titleparts' => [ 0, '제목부분' ],
392  'len' => [ 0, '길이' ],
393  'pos' => [ 0, '위치' ],
394  'rpos' => [ 0, '오른위치' ],
395  'sub' => [ 0, '자르기' ],
396  'count' => [ 0, '개수' ],
397  'replace' => [ 0, '바꾸기', '교체' ],
398  'explode' => [ 0, '분리' ],
399  'urldecode' => [ 0, '주소디코딩:' ],
400 ];
401 
403 $magicWords['ku-latn'] = [
404  'len' => [ 0, '#ziman' ],
405 ];
406 
408 $magicWords['kw'] = [
409  'if' => [ 0, 'mar' ],
410  'time' => [ 0, 'termyn' ],
411 ];
412 
414 $magicWords['lad'] = [
415  'switch' => [ 0, 'asegún', 'según', 'switch' ],
416 ];
417 
419 $magicWords['mg'] = [
420  'if' => [ 0, 'raha', 'if' ],
421  'ifeq' => [ 0, 'rahamitovy', 'ifeq' ],
422  'ifexpr' => [ 0, 'rahamarina', 'ifexpr' ],
423  'iferror' => [ 0, 'rahadiso', 'iferror' ],
424  'default' => [ 0, '#tsipalotra', '#default' ],
425  'ifexist' => [ 0, 'rahamisy', 'ifexist' ],
426  'time' => [ 0, 'lera', 'time' ],
427 ];
428 
430 $magicWords['mk'] = [
431  'expr' => [ 0, 'израз' ],
432  'if' => [ 0, 'ако' ],
433  'ifeq' => [ 0, 'акоисто' ],
434  'ifexpr' => [ 0, 'акоизраз' ],
435  'iferror' => [ 0, 'акогрешка' ],
436  'switch' => [ 0, 'префрли' ],
437  'default' => [ 0, '#поосновно' ],
438  'ifexist' => [ 0, 'акопостои' ],
439  'time' => [ 0, 'време' ],
440  'timel' => [ 0, 'времел' ],
441  'rel2abs' => [ 0, 'релдоапс' ],
442  'titleparts' => [ 0, 'насловделови' ],
443  'len' => [ 0, 'долж' ],
444  'pos' => [ 0, 'пол' ],
445  'rpos' => [ 0, 'впол' ],
446  'sub' => [ 0, 'зам' ],
447  'count' => [ 0, 'сметај' ],
448  'replace' => [ 0, 'замени' ],
449  'explode' => [ 0, 'разложи' ],
450  'urldecode' => [ 0, 'urlдекод' ],
451 ];
452 
454 $magicWords['ml'] = [
455  'expr' => [ 0, 'ദ്യോതകം' ],
456  'if' => [ 0, 'എങ്കിൽ' ],
457  'ifeq' => [ 0, 'സമമെങ്കിൽ' ],
458  'ifexpr' => [ 0, 'എക്സ്പ്രെഷനെങ്കിൽ' ],
459  'iferror' => [ 0, 'പിഴവെങ്കിൽ' ],
460  'switch' => [ 0, 'മാറ്റുക' ],
461  'default' => [ 0, '#സ്വതേ' ],
462  'ifexist' => [ 0, 'ഉണ്ടെങ്കിൽ' ],
463  'time' => [ 0, 'സമയം' ],
464  'timel' => [ 0, 'സമയം|' ],
465  'len' => [ 0, 'നീളം' ],
466  'pos' => [ 0, 'സ്ഥാനം' ],
467  'rpos' => [ 0, 'ആപേക്ഷികസ്ഥാനം' ],
468  'sub' => [ 0, 'ഉപം' ],
469  'count' => [ 0, 'എണ്ണുക' ],
470  'replace' => [ 0, 'മാറ്റിച്ചേർക്കുക' ],
471  'explode' => [ 0, 'വിസ്ഫോടനം' ],
472  'urldecode' => [ 0, 'വിലാസഗൂഢീകരണമൊഴിവാക്കൽ' ],
473 ];
474 
476 $magicWords['mr'] = [
477  'expr' => [ 0, 'करण' ],
478  'if' => [ 0, 'जर', 'इफ' ],
479  'ifeq' => [ 0, 'जरसम' ],
480  'ifexpr' => [ 0, 'जरकरण' ],
481  'iferror' => [ 0, 'जरत्रुटी' ],
482  'switch' => [ 0, 'कळ', 'सांगकळ', 'असेलतरसांग', 'असलेतरसांग', 'स्वीच' ],
483  'default' => [ 0, '#अविचल' ],
484  'ifexist' => [ 0, 'जरअसेल', 'जरआहे' ],
485  'time' => [ 0, 'वेळ' ],
486  'timel' => [ 0, 'वेळस्था' ],
487  'titleparts' => [ 0, 'शीर्षकखंड', 'टाइटलपार्ट्स' ],
488  'len' => [ 0, 'लांबी' ],
489  'pos' => [ 0, 'स्थशोध' ],
490  'rpos' => [ 0, 'माग्चास्थशोध' ],
491  'sub' => [ 0, 'उप' ],
492  'count' => [ 0, 'मोज', 'मोजा' ],
493  'replace' => [ 0, 'नेबदल', 'रिप्लेस' ],
494  'explode' => [ 0, 'एकफोड' ],
495 ];
496 
498 $magicWords['nds-nl'] = [
499  'if' => [ 0, 'as' ],
500  'ifeq' => [ 0, 'asgelieke' ],
501  'ifexpr' => [ 0, 'asexpressie' ],
502  'iferror' => [ 0, 'asfout' ],
503  'default' => [ 0, '#standard' ],
504  'ifexist' => [ 0, 'asbesteet' ],
505  'time' => [ 0, 'tied' ],
506  'timel' => [ 0, 'tiedl' ],
507  'rel2abs' => [ 0, 'relatiefnaorabseluut' ],
508 ];
509 
511 $magicWords['nl'] = [
512  'expr' => [ 0, 'expressie' ],
513  'if' => [ 0, 'als' ],
514  'ifeq' => [ 0, 'alsgelijk' ],
515  'ifexpr' => [ 0, 'alsexpressie' ],
516  'iferror' => [ 0, 'alsfout' ],
517  'switch' => [ 0, 'schakelen' ],
518  'default' => [ 0, '#standaard' ],
519  'ifexist' => [ 0, 'alsbestaat' ],
520  'time' => [ 0, 'tijd' ],
521  'timel' => [ 0, 'tijdl' ],
522  'rel2abs' => [ 0, 'relatiefnaarabsoluut' ],
523  'titleparts' => [ 0, 'paginanaamdelen' ],
524  'count' => [ 0, 'telling' ],
525  'replace' => [ 0, 'vervangen' ],
526  'explode' => [ 0, 'exploderen' ],
527  'urldecode' => [ 0, 'urldecoderen' ],
528 ];
529 
531 $magicWords['nn'] = [
532  'expr' => [ 0, 'uttrykk', 'uttr' ],
533  'if' => [ 0, 'om' ],
534  'ifeq' => [ 0, 'omlik' ],
535  'ifexpr' => [ 0, 'omuttrykk', 'omuttr' ],
536  'iferror' => [ 0, 'omfeil' ],
537  'switch' => [ 0, 'byt' ],
538  'ifexist' => [ 0, 'omfinst' ],
539  'time' => [ 0, 'tid' ],
540  'timel' => [ 0, 'tidl' ],
541  'rel2abs' => [ 0, 'reltilabs' ],
542  'titleparts' => [ 0, 'titteldelar' ],
543  'len' => [ 0, 'lengd' ],
544  'replace' => [ 0, 'byt_ut', 'erstatt' ],
545 ];
546 
548 $magicWords['or'] = [
549  'time' => [ 0, 'ସମୟ' ],
550 ];
551 
553 $magicWords['pa'] = [
554  'time' => [ 0, 'ਸਮੇ' ],
555 ];
556 
558 $magicWords['ps'] = [
559  'if' => [ 0, 'که', 'if' ],
560  'time' => [ 0, 'وخت', 'time' ],
561  'count' => [ 0, 'شمېرل', 'count' ],
562 ];
563 
565 $magicWords['pt'] = [
566  'if' => [ 0, 'se' ],
567  'ifeq' => [ 0, 'seigual' ],
568  'ifexpr' => [ 0, 'seexpr' ],
569  'iferror' => [ 0, 'seerro' ],
570  'default' => [ 0, '#padrão', '#padrao' ],
571  'ifexist' => [ 0, 'seexiste' ],
572  'titleparts' => [ 0, 'partesdotítulo', 'partesdotitulo' ],
573  'len' => [ 0, 'comprimento' ],
574 ];
575 
577 $magicWords['qu'] = [
578  'expr' => [ 0, 'rikuchiy' ],
579  'if' => [ 0, 'kaptin' ],
580  'ifeq' => [ 0, 'kaqllakaptin' ],
581  'ifexpr' => [ 0, 'rikuchiykaptin' ],
582  'iferror' => [ 0, 'pantasqakaptin' ],
583  'switch' => [ 0, 'winkuy' ],
584  'default' => [ 0, '#kikinmanta' ],
585  'ifexist' => [ 0, 'kachkaptin' ],
586  'time' => [ 0, 'pacha' ],
587  'timel' => [ 0, 'pachal' ],
588  'len' => [ 0, 'suni' ],
589  'pos' => [ 0, 'tiyay' ],
590  'replace' => [ 0, 'rantichay', 'huknachay' ],
591  'explode' => [ 0, 'phatmay' ],
592 ];
593 
595 $magicWords['ru'] = [
596  'if' => [ 0, 'если' ],
597  'iferror' => [ 0, 'еслиошибка' ],
598  'switch' => [ 0, 'переключатель' ],
599  'default' => [ 0, '#умолчание' ],
600  'time' => [ 0, 'время' ],
601  'timel' => [ 0, 'мвремя' ],
602  'replace' => [ 0, 'замена' ],
603 ];
604 
606 $magicWords['sr-ec'] = [
607  'default' => [ 0, '#подразумевано' ],
608  'time' => [ 0, 'време' ],
609  'pos' => [ 0, 'поз' ],
610  'count' => [ 0, 'број' ],
611  'replace' => [ 0, 'замени' ],
612 ];
613 
615 $magicWords['sv'] = [
616  'expr' => [ 0, 'utr', 'expr' ],
617  'if' => [ 0, 'om', 'if' ],
618  'ifeq' => [ 0, 'omlika', 'ifeq' ],
619  'ifexpr' => [ 0, 'omutr', 'ifexpr' ],
620  'iferror' => [ 0, 'omfel', 'iferror' ],
621  'switch' => [ 0, 'växel', 'switch' ],
622  'default' => [ 0, '#standard', '#default' ],
623  'ifexist' => [ 0, 'omfinns', 'ifexist' ],
624  'time' => [ 0, 'tid', 'time' ],
625  'timel' => [ 0, 'tidl', 'timel' ],
626  'replace' => [ 0, 'ersätt', 'replace' ],
627  'explode' => [ 0, 'explodera', 'explode' ],
628 ];
629 
631 $magicWords['ta'] = [
632  'count' => [ 0, 'எண்ணிக்கை' ],
633 ];
634 
636 $magicWords['tr'] = [
637  'expr' => [ 0, 'işlem', 'islem', 'ifade' ],
638  'if' => [ 0, 'eğer', 'eger' ],
639  'switch' => [ 0, 'değiştir', 'degistir' ],
640  'default' => [ 0, '#vas' ],
641 ];
642 
644 $magicWords['uk'] = [
645  'expr' => [ 0, 'вираз' ],
646  'if' => [ 0, 'якщо', 'если' ],
647  'ifeq' => [ 0, 'якщорівні', 'рівні' ],
648  'ifexpr' => [ 0, 'якщовираз' ],
649  'iferror' => [ 0, 'якщопомилка', 'еслиошибка' ],
650  'switch' => [ 0, 'вибірка', 'переключатель' ],
651  'default' => [ 0, '#інакше', '#за_замовчуванням', '#умолчание' ],
652  'ifexist' => [ 0, 'якщоіснує' ],
653  'replace' => [ 0, 'заміна', 'замена' ],
654 ];
655 
657 $magicWords['ur'] = [
658  'if' => [ 0, 'اگر' ],
659 ];
660 
662 $magicWords['uz'] = [
663  'expr' => [ 0, 'ifoda' ],
664  'if' => [ 0, 'agar' ],
665  'ifeq' => [ 0, 'agarteng' ],
666  'ifexpr' => [ 0, 'agarifoda' ],
667  'iferror' => [ 0, 'agarxato' ],
668  'switch' => [ 0, 'tanlov' ],
669  'default' => [ 0, '#boshlangʻich' ],
670  'ifexist' => [ 0, 'agarbor' ],
671  'time' => [ 0, 'vaqt' ],
672  'len' => [ 0, 'uzunlik' ],
673  'pos' => [ 0, 'oʻrin' ],
674  'count' => [ 0, 'miqdor' ],
675  'replace' => [ 0, 'almashtirish' ],
676 ];
677 
679 $magicWords['vi'] = [
680  'expr' => [ 0, 'công_thức', 'côngthức' ],
681  'if' => [ 0, 'nếu' ],
682  'ifeq' => [ 0, 'nếu_bằng', 'nếubằng' ],
683  'ifexpr' => [ 0, 'nếu_công_thức', 'nếucôngthức' ],
684  'iferror' => [ 0, 'nếu_lỗi', 'nếulỗi' ],
685  'default' => [ 0, '#mặc_định', '#mặcđịnh' ],
686  'ifexist' => [ 0, 'nếu_tồn_tại', 'nếutồntại' ],
687  'time' => [ 0, 'giờ' ],
688  'timel' => [ 0, 'giờ_địa_phương', 'giờđịaphương' ],
689  'len' => [ 0, 'số_chữ', 'sốchữ', 'số_ký_tự', 'sốkýtự', 'số_kí_tự', 'sốkítự' ],
690  'pos' => [ 0, 'vị_trí', 'vịtrí' ],
691  'rpos' => [ 0, 'vị_trí_phải', 'vịtríphải' ],
692  'sub' => [ 0, 'chuỗi_con', 'chuỗicon' ],
693  'count' => [ 0, 'số' ],
694  'replace' => [ 0, 'thay_thế', 'thaythế' ],
695  'urldecode' => [ 0, 'giải_mã_url', 'giảimãurl' ],
696 ];
697 
699 $magicWords['yi'] = [
700  'expr' => [ 0, 'רעכן' ],
701  'if' => [ 0, 'תנאי' ],
702  'ifeq' => [ 0, 'גלייך' ],
703  'ifexpr' => [ 0, 'אויברעכן' ],
704  'switch' => [ 0, 'קלייב' ],
705  'default' => [ 0, '#גרונט' ],
706  'ifexist' => [ 0, 'עקזיסט' ],
707  'time' => [ 0, 'צייט' ],
708  'timel' => [ 0, 'צייטל' ],
709  'count' => [ 0, 'צאל' ],
710 ];
711 
713 $magicWords['zh'] = [
714  'expr' => [ 0, '计算式' ],
715  'if' => [ 0, '非空式' ],
716  'ifeq' => [ 0, '相同式', '匹配式' ],
717  'iferror' => [ 0, '错误式' ],
718  'switch' => [ 0, '多选式', '多条件式', '双射式' ],
719  'default' => [ 0, '#默认' ],
720  'ifexist' => [ 0, '存在式' ],
721  'len' => [ 0, '长度' ],
722  'pos' => [ 0, '位置' ],
723  'rpos' => [ 0, '最近位置' ],
724  'sub' => [ 0, '截取' ],
725  'count' => [ 0, '计数' ],
726  'replace' => [ 0, '替换' ],
727  'explode' => [ 0, '爆炸', '炸开' ],
728 ];
729 
731 $magicWords['zh-hans'] = [
732  'expr' => [ 0, '表达式' ],
733  'if' => [ 0, '若', '如果' ],
734  'ifeq' => [ 0, '若相等', '如果相等' ],
735  'ifexpr' => [ 0, '若表达式' ],
736  'iferror' => [ 0, '如果错误' ],
737  'switch' => [ 0, '开关', '转换' ],
738  'default' => [ 0, '#默认' ],
739  'ifexist' => [ 0, '若有', '如有' ],
740  'time' => [ 0, '时间' ],
741  'timel' => [ 0, '时间l' ],
742  'titleparts' => [ 0, '标题组成部分' ],
743  'len' => [ 0, '长度' ],
744  'pos' => [ 0, '终端' ],
745  'rpos' => [ 0, '反终端' ],
746  'sub' => [ 0, 'PF子' ],
747  'count' => [ 0, '计数' ],
748  'replace' => [ 0, '取代' ],
749  'explode' => [ 0, '粉碎' ],
750  'urldecode' => [ 0, 'url解码' ],
751 ];
752 
754 $magicWords['zh-hant'] = [
755  'expr' => [ 0, '表達式' ],
756  'if' => [ 0, '若' ],
757  'ifexpr' => [ 0, '若表達式' ],
758  'iferror' => [ 0, '如果錯誤' ],
759  'switch' => [ 0, '轉換' ],
760  'default' => [ 0, '#默認' ],
761  'time' => [ 0, '時間' ],
762  'timel' => [ 0, '時間L' ],
763  'len' => [ 0, '長度' ],
764  'count' => [ 0, '計算' ],
765  'urldecode' => [ 0, 'URI解碼' ],
766 ];
$magicWords
$magicWords
English (English)
Definition: ParserFunctions.i18n.magic.php:9
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