Make {{#language}} consistent with {{#dir}} and {{#bcp47}}
[mediawiki.git] / languages / messages / MessagesEn.php
blobb98501c4b3a79602cd8e3edf578d0c0fcc6a62a8
1 <?php
2 /**
3 * This is the default English localisation file containing language specific
4 * information excluding interface strings, which are stored in JSON files.
6 * Please see https://www.mediawiki.org/wiki/Localisation for more information.
7 */
9 /**
10 * Fallback language, used for all unspecified messages and behavior. This
11 * is English by default, for all files other than this one.
13 * Do NOT set this to false in any other message file! Leave the line out to
14 * accept the default fallback to "en".
16 $fallback = false;
18 /**
19 * Is the language written right-to-left?
21 $rtl = false;
23 /**
24 * Optional array mapping ASCII digits 0-9 to local digits.
26 $digitTransformTable = null;
28 /**
29 * Transform table for decimal point '.' and thousands separator ','
31 $separatorTransformTable = null;
33 /**
34 * The minimum number of digits a number must have, in addition to the grouping
35 * size, before grouping separators are added.
37 * For example, Polish has minimumGroupingDigits = 2, which with a grouping
38 * size of 3 causes 4-digit numbers to be written like 9999, but 5-digit
39 * numbers are written like "10 000".
41 $minimumGroupingDigits = 1;
43 /**
44 * URLs do not specify their encoding. UTF-8 is used by default, but if the
45 * URL is not a valid UTF-8 sequence, we have to try to guess what the real
46 * encoding is. The encoding used in this case is defined below, and must be
47 * supported by iconv().
49 $fallback8bitEncoding = 'windows-1252';
51 /**
52 * To allow "foo[[bar]]" to extend the link over the whole word "foobar"
54 $linkPrefixExtension = false;
56 /**
57 * Namespace names. NS_PROJECT is always set to $wgMetaNamespace after the
58 * settings are loaded, it will be ignored even if you specify it here.
60 * NS_PROJECT_TALK will be set to $wgMetaNamespaceTalk if that variable is
61 * set, otherwise the string specified here will be used. The string may
62 * contain "$1", which will be replaced by the name of NS_PROJECT. It may
63 * also contain a grammatical transformation, e.g.
65 * NS_PROJECT_TALK => 'Keskustelu_{{grammar:elative|$1}}'
67 * Only one grammatical transform may be specified in the string. For
68 * performance reasons, this transformation is done locally by the language
69 * module rather than by the full wikitext parser. As a result, no other
70 * parser features are available.
72 $namespaceNames = [
73 NS_MEDIA => 'Media',
74 NS_SPECIAL => 'Special',
75 NS_MAIN => '',
76 NS_TALK => 'Talk',
77 NS_USER => 'User',
78 NS_USER_TALK => 'User_talk',
79 # NS_PROJECT set by $wgMetaNamespace
80 NS_PROJECT_TALK => '$1_talk',
81 NS_FILE => 'File',
82 NS_FILE_TALK => 'File_talk',
83 NS_MEDIAWIKI => 'MediaWiki',
84 NS_MEDIAWIKI_TALK => 'MediaWiki_talk',
85 NS_TEMPLATE => 'Template',
86 NS_TEMPLATE_TALK => 'Template_talk',
87 NS_HELP => 'Help',
88 NS_HELP_TALK => 'Help_talk',
89 NS_CATEGORY => 'Category',
90 NS_CATEGORY_TALK => 'Category_talk',
93 /**
94 * Array of namespace aliases, mapping from name to NS_xxx index.
96 * Note that 'namespaceAliases' is a mergable language attribute,
97 * which means it is combined with other languages in the fallback chain.
99 $namespaceAliases = [
100 // The canonical names of namespaces 6 and 7 are, as of MediaWik 1.14,
101 // "File" and "File_talk". The old names "Image" and "Image_talk" are
102 // retained as aliases for backwards compatibility.
103 // This must apply regardless of site language (and does, given 'en' is at
104 // the end of all fallback chains.)
105 'Image' => NS_FILE,
106 'Image_talk' => NS_FILE_TALK,
110 * Array of gender specific. namespace aliases.
111 * Mapping NS_xxx to array of GENDERKEY to alias.
112 * Example:
113 * @code
114 * $namespaceGenderAliases = [
115 * NS_USER => [ 'male' => 'Male_user', 'female' => 'Female_user' ],
116 * ];
117 * @endcode
119 $namespaceGenderAliases = [];
122 * A list of date format preference keys, which can be selected in user
123 * preferences. New preference keys can be added, provided they are supported
124 * by the language class's timeanddate(). Only the 5 keys listed below are
125 * supported by the wikitext converter (parser/DateFormatter.php).
127 * The special key "default" is an alias for either dmy or mdy depending on
128 * $wgAmericanDates
130 $datePreferences = [
131 'default',
132 'mdy',
133 'dmy',
134 'ymd',
135 'ISO 8601',
139 * The date format to use for generated dates in the user interface.
140 * This may be one of the above date preferences, or the special value
141 * "dmy or mdy", which uses mdy if $wgAmericanDates is true, and dmy
142 * if $wgAmericanDates is false.
144 $defaultDateFormat = 'dmy or mdy';
147 * Associative array mapping old numeric date formats, which may still be
148 * stored in user preferences, to the new string formats.
150 $datePreferenceMigrationMap = [
151 'default',
152 'mdy',
153 'dmy',
154 'ymd'
158 * These are formats for dates generated by MediaWiki (as opposed to the wikitext
159 * DateFormatter). Documentation for the format string can be found in
160 * Language.php, search for sprintfDate.
162 * This array is automatically inherited by all subclasses. Individual keys can be
163 * overridden.
165 $dateFormats = [
166 'mdy time' => 'H:i',
167 'mdy date' => 'F j, Y',
168 'mdy monthonly' => 'F Y',
169 'mdy both' => 'H:i, F j, Y',
170 'mdy pretty' => 'F j',
172 'dmy time' => 'H:i',
173 'dmy date' => 'j F Y',
174 'dmy monthonly' => 'F Y',
175 'dmy both' => 'H:i, j F Y',
176 'dmy pretty' => 'j F',
178 'ymd time' => 'H:i',
179 'ymd date' => 'Y F j',
180 'ymd monthonly' => 'Y F',
181 'ymd both' => 'H:i, Y F j',
182 'ymd pretty' => 'F j',
184 'ISO 8601 time' => 'xnH:xni:xns',
185 'ISO 8601 date' => 'xnY-xnm-xnd',
186 'ISO 8601 monthonly' => 'xnY-xnm',
187 'ISO 8601 both' => 'xnY-xnm-xnd"T"xnH:xni:xns',
188 'ISO 8601 pretty' => 'xnm-xnd'
192 * Default list of book sources
194 $bookstoreList = [
195 'BWB' => 'https://www.betterworldbooks.com/product/detail/-$1',
196 'OpenLibrary' => 'https://openlibrary.org/isbn/$1',
197 'Worldcat' => 'https://www.worldcat.org/search?q=isbn:$1',
201 * Magic words
202 * Customizable syntax for wikitext and elsewhere.
204 * IDs must be valid identifiers, they cannot contain hyphens.
205 * CASE is 0 to match all case variants, 1 for case-sensitive
207 * Note to localisers:
208 * - Include the English magic words as synonyms. This allows people from
209 * other wikis that do not speak the language to contribute more easily.
210 * - The first alias listed MUST be the preferred alias in that language.
211 * Tools (like Visual Editor) are expected to use the first listed alias
212 * when editing or creating new content.
213 * - Order the other aliases so that common aliases occur before more rarely
214 * used aliases. The aliases SHOULD be sorted by the following convention:
215 * 1. Local first, English last, then
216 * 2. Most common first, least common last.
217 * @phpcs-require-sorted-array
219 $magicWords = [
220 # ID CASE SYNONYMS
221 '!' => [ 1, '!' ],
222 '=' => [ 1, '=' ],
223 'anchorencode' => [ 0, 'ANCHORENCODE' ],
224 'articlepath' => [ 0, 'ARTICLEPATH' ],
225 'basepagename' => [ 1, 'BASEPAGENAME' ],
226 'basepagenamee' => [ 1, 'BASEPAGENAMEE' ],
227 'bcp47' => [ 1, '#bcp47' ],
228 'bidi' => [ 0, 'BIDI:' ],
229 'canonicalurl' => [ 0, 'CANONICALURL:' ],
230 'canonicalurle' => [ 0, 'CANONICALURLE:' ],
231 'cascadingsources' => [ 1, 'CASCADINGSOURCES' ],
232 'contentlanguage' => [ 1, 'CONTENTLANGUAGE', 'CONTENTLANG' ],
233 'currentday' => [ 1, 'CURRENTDAY' ],
234 'currentday2' => [ 1, 'CURRENTDAY2' ],
235 'currentdayname' => [ 1, 'CURRENTDAYNAME' ],
236 'currentdow' => [ 1, 'CURRENTDOW' ],
237 'currenthour' => [ 1, 'CURRENTHOUR' ],
238 'currentmonth' => [ 1, 'CURRENTMONTH', 'CURRENTMONTH2' ],
239 'currentmonth1' => [ 1, 'CURRENTMONTH1' ],
240 'currentmonthabbrev' => [ 1, 'CURRENTMONTHABBREV' ],
241 'currentmonthname' => [ 1, 'CURRENTMONTHNAME' ],
242 'currentmonthnamegen' => [ 1, 'CURRENTMONTHNAMEGEN' ],
243 'currenttime' => [ 1, 'CURRENTTIME' ],
244 'currenttimestamp' => [ 1, 'CURRENTTIMESTAMP' ],
245 'currentversion' => [ 1, 'CURRENTVERSION' ],
246 'currentweek' => [ 1, 'CURRENTWEEK' ],
247 'currentyear' => [ 1, 'CURRENTYEAR' ],
248 'defaultsort' => [ 1, 'DEFAULTSORT:', 'DEFAULTSORTKEY:', 'DEFAULTCATEGORYSORT:' ],
249 'defaultsort_noerror' => [ 0, 'noerror' ],
250 'defaultsort_noreplace' => [ 0, 'noreplace' ],
251 'dir' => [ 1, '#dir' ],
252 'directionmark' => [ 1, 'DIRECTIONMARK', 'DIRMARK' ],
253 'displaytitle' => [ 1, 'DISPLAYTITLE' ],
254 'displaytitle_noerror' => [ 0, 'noerror' ],
255 'displaytitle_noreplace' => [ 0, 'noreplace' ],
256 'expectunusedcategory' => [ 1, '__EXPECTUNUSEDCATEGORY__', ],
257 'filepath' => [ 0, 'FILEPATH:' ],
258 'forcetoc' => [ 0, '__FORCETOC__' ],
259 'formal' => [ 1, '#FORMAL:' ],
260 'formatdate' => [ 0, 'formatdate', 'dateformat' ],
261 'formatnum' => [ 0, 'FORMATNUM' ],
262 'fullpagename' => [ 1, 'FULLPAGENAME' ],
263 'fullpagenamee' => [ 1, 'FULLPAGENAMEE' ],
264 'fullurl' => [ 0, 'FULLURL:' ],
265 'fullurle' => [ 0, 'FULLURLE:' ],
266 'gender' => [ 0, 'GENDER:' ],
267 'grammar' => [ 0, 'GRAMMAR:' ],
268 'hiddencat' => [ 1, '__HIDDENCAT__' ],
269 'img_alt' => [ 1, 'alt=$1' ],
270 'img_baseline' => [ 1, 'baseline' ],
271 'img_border' => [ 1, 'border' ],
272 'img_bottom' => [ 1, 'bottom' ],
273 'img_center' => [ 1, 'center', 'centre' ],
274 'img_class' => [ 1, 'class=$1' ],
275 'img_framed' => [ 1, 'frame', 'framed', 'enframed' ],
276 'img_frameless' => [ 1, 'frameless' ],
277 'img_lang' => [ 1, 'lang=$1' ],
278 'img_left' => [ 1, 'left' ],
279 'img_link' => [ 1, 'link=$1' ],
280 'img_manualthumb' => [ 1, 'thumbnail=$1', 'thumb=$1' ],
281 'img_middle' => [ 1, 'middle' ],
282 'img_none' => [ 1, 'none' ],
283 'img_page' => [ 1, 'page=$1', 'page $1' ],
284 'img_right' => [ 1, 'right' ],
285 'img_sub' => [ 1, 'sub' ],
286 'img_super' => [ 1, 'super', 'sup' ],
287 'img_text_bottom' => [ 1, 'text-bottom' ],
288 'img_text_top' => [ 1, 'text-top' ],
289 'img_thumbnail' => [ 1, 'thumb', 'thumbnail' ],
290 'img_top' => [ 1, 'top' ],
291 'img_upright' => [ 1, 'upright', 'upright=$1', 'upright $1' ],
292 'img_width' => [ 1, '$1px' ],
293 'index' => [ 1, '__INDEX__' ],
294 'int' => [ 0, 'INT:' ],
295 'language' => [ 0, '#LANGUAGE' ],
296 'language_option_bcp47' => [ 1, 'bcp47' ],
297 'lc' => [ 0, 'LC:' ],
298 'lcfirst' => [ 0, 'LCFIRST:' ],
299 'localday' => [ 1, 'LOCALDAY' ],
300 'localday2' => [ 1, 'LOCALDAY2' ],
301 'localdayname' => [ 1, 'LOCALDAYNAME' ],
302 'localdow' => [ 1, 'LOCALDOW' ],
303 'localhour' => [ 1, 'LOCALHOUR' ],
304 'localmonth' => [ 1, 'LOCALMONTH', 'LOCALMONTH2' ],
305 'localmonth1' => [ 1, 'LOCALMONTH1' ],
306 'localmonthabbrev' => [ 1, 'LOCALMONTHABBREV' ],
307 'localmonthname' => [ 1, 'LOCALMONTHNAME' ],
308 'localmonthnamegen' => [ 1, 'LOCALMONTHNAMEGEN' ],
309 'localtime' => [ 1, 'LOCALTIME' ],
310 'localtimestamp' => [ 1, 'LOCALTIMESTAMP' ],
311 'localurl' => [ 0, 'LOCALURL:' ],
312 'localurle' => [ 0, 'LOCALURLE:' ],
313 'localweek' => [ 1, 'LOCALWEEK' ],
314 'localyear' => [ 1, 'LOCALYEAR' ],
315 'msg' => [ 0, 'MSG:' ],
316 'msgnw' => [ 0, 'MSGNW:' ],
317 'namespace' => [ 1, 'NAMESPACE' ],
318 'namespacee' => [ 1, 'NAMESPACEE' ],
319 'namespacenumber' => [ 1, 'NAMESPACENUMBER' ],
320 'newsectionlink' => [ 1, '__NEWSECTIONLINK__' ],
321 'nocommafysuffix' => [ 0, 'NOSEP' ],
322 'nocontentconvert' => [ 0, '__NOCONTENTCONVERT__', '__NOCC__' ],
323 'noeditsection' => [ 0, '__NOEDITSECTION__' ],
324 'nogallery' => [ 0, '__NOGALLERY__' ],
325 'noindex' => [ 1, '__NOINDEX__' ],
326 'nonewsectionlink' => [ 1, '__NONEWSECTIONLINK__' ],
327 'notitleconvert' => [ 0, '__NOTITLECONVERT__', '__NOTC__' ],
328 'notoc' => [ 0, '__NOTOC__' ],
329 'ns' => [ 0, 'NS:' ],
330 'nse' => [ 0, 'NSE:' ],
331 'numberingroup' => [ 1, 'NUMBERINGROUP', 'NUMINGROUP' ],
332 'numberofactiveusers' => [ 1, 'NUMBEROFACTIVEUSERS' ],
333 'numberofadmins' => [ 1, 'NUMBEROFADMINS' ],
334 'numberofarticles' => [ 1, 'NUMBEROFARTICLES' ],
335 'numberofedits' => [ 1, 'NUMBEROFEDITS' ],
336 'numberoffiles' => [ 1, 'NUMBEROFFILES' ],
337 'numberofpages' => [ 1, 'NUMBEROFPAGES' ],
338 'numberofusers' => [ 1, 'NUMBEROFUSERS' ],
339 'padleft' => [ 0, 'PADLEFT' ],
340 'padright' => [ 0, 'PADRIGHT' ],
341 'pageid' => [ 0, 'PAGEID' ],
342 'pagelanguage' => [ 1, 'PAGELANGUAGE' ],
343 'pagename' => [ 1, 'PAGENAME' ],
344 'pagenamee' => [ 1, 'PAGENAMEE' ],
345 'pagesincategory' => [ 1, 'PAGESINCATEGORY', 'PAGESINCAT' ],
346 'pagesincategory_all' => [ 0, 'all' ],
347 'pagesincategory_files' => [ 0, 'files' ],
348 'pagesincategory_pages' => [ 0, 'pages' ],
349 'pagesincategory_subcats' => [ 0, 'subcats' ],
350 'pagesinnamespace' => [ 1, 'PAGESINNAMESPACE:', 'PAGESINNS:' ],
351 'pagesize' => [ 1, 'PAGESIZE' ],
352 'plural' => [ 0, 'PLURAL:' ],
353 'protectionexpiry' => [ 1, 'PROTECTIONEXPIRY' ],
354 'protectionlevel' => [ 1, 'PROTECTIONLEVEL' ],
355 'raw' => [ 0, 'RAW:' ],
356 'rawsuffix' => [ 1, 'R' ],
357 'redirect' => [ 0, '#REDIRECT' ],
358 'revisionday' => [ 1, 'REVISIONDAY' ],
359 'revisionday2' => [ 1, 'REVISIONDAY2' ],
360 'revisionid' => [ 1, 'REVISIONID' ],
361 'revisionmonth' => [ 1, 'REVISIONMONTH' ],
362 'revisionmonth1' => [ 1, 'REVISIONMONTH1' ],
363 'revisionsize' => [ 1, 'REVISIONSIZE' ],
364 'revisiontimestamp' => [ 1, 'REVISIONTIMESTAMP' ],
365 'revisionuser' => [ 1, 'REVISIONUSER' ],
366 'revisionyear' => [ 1, 'REVISIONYEAR' ],
367 'rootpagename' => [ 1, 'ROOTPAGENAME' ],
368 'rootpagenamee' => [ 1, 'ROOTPAGENAMEE' ],
369 'safesubst' => [ 0, 'SAFESUBST:' ],
370 'scriptpath' => [ 0, 'SCRIPTPATH' ],
371 'server' => [ 0, 'SERVER' ],
372 'servername' => [ 0, 'SERVERNAME' ],
373 'sitename' => [ 1, 'SITENAME' ],
374 'special' => [ 0, 'special' ],
375 'speciale' => [ 0, 'speciale' ],
376 'staticredirect' => [ 1, '__STATICREDIRECT__' ],
377 'stylepath' => [ 0, 'STYLEPATH' ],
378 'subjectpagename' => [ 1, 'SUBJECTPAGENAME', 'ARTICLEPAGENAME' ],
379 'subjectpagenamee' => [ 1, 'SUBJECTPAGENAMEE', 'ARTICLEPAGENAMEE' ],
380 'subjectspace' => [ 1, 'SUBJECTSPACE', 'ARTICLESPACE' ],
381 'subjectspacee' => [ 1, 'SUBJECTSPACEE', 'ARTICLESPACEE' ],
382 'subpagename' => [ 1, 'SUBPAGENAME' ],
383 'subpagenamee' => [ 1, 'SUBPAGENAMEE' ],
384 'subst' => [ 0, 'SUBST:' ],
385 'tag' => [ 0, 'tag' ],
386 'talkpagename' => [ 1, 'TALKPAGENAME' ],
387 'talkpagenamee' => [ 1, 'TALKPAGENAMEE' ],
388 'talkspace' => [ 1, 'TALKSPACE' ],
389 'talkspacee' => [ 1, 'TALKSPACEE' ],
390 'toc' => [ 0, '__TOC__' ],
391 'uc' => [ 0, 'UC:' ],
392 'ucfirst' => [ 0, 'UCFIRST:' ],
393 'urlencode' => [ 0, 'URLENCODE:' ],
394 'url_path' => [ 0, 'PATH' ],
395 'url_query' => [ 0, 'QUERY' ],
396 'url_wiki' => [ 0, 'WIKI' ],
400 * Alternate names of special pages. All names are case-insensitive. The first
401 * listed alias will be used as the default. Aliases from the fallback
402 * localisation (usually English) will be included by default.
403 * @phpcs-require-sorted-array
405 $specialPageAliases = [
406 'Activeusers' => [ 'ActiveUsers' ],
407 'Allmessages' => [ 'AllMessages' ],
408 'AllMyUploads' => [ 'AllMyUploads', 'AllMyFiles' ],
409 'Allpages' => [ 'AllPages' ],
410 'Ancientpages' => [ 'AncientPages' ],
411 'ApiHelp' => [ 'ApiHelp' ],
412 'ApiSandbox' => [ 'ApiSandbox' ],
413 'AuthenticationPopupSuccess' => [ 'AuthenticationPopupSuccess' ],
414 'AutoblockList' => [ 'AutoblockList', 'ListAutoblocks' ],
415 'Badtitle' => [ 'Badtitle' ],
416 'Blankpage' => [ 'BlankPage' ],
417 'Block' => [ 'Block', 'BlockIP', 'BlockUser' ],
418 'BlockList' => [ 'BlockList', 'ListBlocks', 'IPBlockList' ],
419 'Booksources' => [ 'BookSources' ],
420 'BotPasswords' => [ 'BotPasswords' ],
421 'BrokenRedirects' => [ 'BrokenRedirects' ],
422 'Categories' => [ 'Categories' ],
423 'ChangeContentModel' => [ 'ChangeContentModel' ],
424 'ChangeCredentials' => [ 'ChangeCredentials' ],
425 'ChangeEmail' => [ 'ChangeEmail' ],
426 'ChangePassword' => [ 'ChangePassword', 'ResetPass', 'ResetPassword' ],
427 'ComparePages' => [ 'ComparePages' ],
428 'Confirmemail' => [ 'ConfirmEmail' ],
429 'Contribute' => [ 'Contribute' ],
430 'Contributions' => [ 'Contributions', 'Contribs' ],
431 'CreateAccount' => [ 'CreateAccount' ],
432 'Deadendpages' => [ 'DeadendPages' ],
433 'DeletedContributions' => [ 'DeletedContributions' ],
434 'DeletePage' => [ 'DeletePage', 'Delete' ],
435 'Diff' => [ 'Diff' ],
436 'DoubleRedirects' => [ 'DoubleRedirects' ],
437 'EditPage' => [ 'EditPage', 'Edit' ],
438 'EditRecovery' => [ 'EditRecovery' ],
439 'EditTags' => [ 'EditTags' ],
440 'EditWatchlist' => [ 'EditWatchlist' ],
441 'Emailuser' => [ 'EmailUser', 'Email' ],
442 'ExpandTemplates' => [ 'ExpandTemplates' ],
443 'Export' => [ 'Export' ],
444 'Fewestrevisions' => [ 'FewestRevisions' ],
445 'FileDuplicateSearch' => [ 'FileDuplicateSearch' ],
446 'Filepath' => [ 'FilePath' ],
447 'GoToInterwiki' => [ 'GoToInterwiki' ],
448 'Import' => [ 'Import' ],
449 'Invalidateemail' => [ 'InvalidateEmail' ],
450 'JavaScriptTest' => [ 'JavaScriptTest' ],
451 'LinkAccounts' => [ 'LinkAccounts' ],
452 'LinkSearch' => [ 'LinkSearch' ],
453 'Listadmins' => [ 'ListAdmins' ],
454 'Listbots' => [ 'ListBots' ],
455 'ListDuplicatedFiles' => [ 'ListDuplicatedFiles', 'ListFileDuplicates' ],
456 'Listfiles' => [ 'ListFiles', 'FileList', 'ImageList' ],
457 'Listgrants' => [ 'ListGrants' ],
458 'Listgrouprights' => [ 'ListGroupRights', 'UserGroupRights' ],
459 'Listredirects' => [ 'ListRedirects' ],
460 'Listusers' => [ 'ListUsers', 'UserList', 'Users' ],
461 'Lockdb' => [ 'LockDB' ],
462 'Log' => [ 'Log', 'Logs' ],
463 'Lonelypages' => [ 'LonelyPages', 'OrphanedPages' ],
464 'Longpages' => [ 'LongPages' ],
465 'MediaStatistics' => [ 'MediaStatistics' ],
466 'MergeHistory' => [ 'MergeHistory' ],
467 'MIMEsearch' => [ 'MIMESearch' ],
468 'Mostcategories' => [ 'MostCategories' ],
469 'Mostimages' => [ 'MostLinkedFiles', 'MostFiles', 'MostImages' ],
470 'Mostinterwikis' => [ 'MostInterwikis' ],
471 'Mostlinked' => [ 'MostLinkedPages', 'MostLinked' ],
472 'Mostlinkedcategories' => [ 'MostLinkedCategories', 'MostUsedCategories' ],
473 'Mostlinkedtemplates' => [ 'MostTranscludedPages', 'MostLinkedTemplates', 'MostUsedTemplates' ],
474 'Mostrevisions' => [ 'MostRevisions' ],
475 'Movepage' => [ 'MovePage' ],
476 'Mute' => [ 'Mute' ],
477 'Mycontributions' => [ 'MyContributions', 'MyContribs' ],
478 'MyLanguage' => [ 'MyLanguage' ],
479 'Mylog' => [ 'MyLog' ],
480 'Mypage' => [ 'MyPage' ],
481 'Mytalk' => [ 'MyTalk' ],
482 'Myuploads' => [ 'MyUploads', 'MyFiles' ],
483 'Newimages' => [ 'NewFiles', 'NewImages' ],
484 'Newpages' => [ 'NewPages' ],
485 'NewSection' => [ 'NewSection', 'Newsection' ],
486 'PageData' => [ 'PageData' ],
487 'PageHistory' => [ 'PageHistory', 'History' ],
488 'PageInfo' => [ 'PageInfo', 'Info' ],
489 'PageLanguage' => [ 'PageLanguage' ],
490 'PagesWithProp' => [ 'PagesWithProp', 'Pageswithprop', 'PagesByProp', 'Pagesbyprop' ],
491 'PasswordPolicies' => [ 'PasswordPolicies' ],
492 'PasswordReset' => [ 'PasswordReset' ],
493 'PermanentLink' => [ 'PermanentLink', 'PermaLink' ],
494 'Preferences' => [ 'Preferences' ],
495 'Prefixindex' => [ 'PrefixIndex' ],
496 'Protectedpages' => [ 'ProtectedPages' ],
497 'Protectedtitles' => [ 'ProtectedTitles' ],
498 'ProtectPage' => [ 'ProtectPage', 'Protect' ],
499 'Purge' => [ 'Purge' ],
500 'RandomInCategory' => [ 'RandomInCategory' ],
501 'Randompage' => [ 'Random', 'RandomPage' ],
502 'Randomredirect' => [ 'RandomRedirect' ],
503 'Randomrootpage' => [ 'RandomRootpage' ],
504 'Recentchanges' => [ 'RecentChanges' ],
505 'Recentchangeslinked' => [ 'RecentChangesLinked', 'RelatedChanges' ],
506 'Redirect' => [ 'Redirect' ],
507 'RemoveCredentials' => [ 'RemoveCredentials' ],
508 'Renameuser' => [ 'RenameUser' ],
509 'ResetTokens' => [ 'ResetTokens' ],
510 'RestSandbox' => [ 'RestSandbox' ],
511 'Revisiondelete' => [ 'RevisionDelete' ],
512 'RunJobs' => [ 'RunJobs' ],
513 'Search' => [ 'Search' ],
514 'Shortpages' => [ 'ShortPages' ],
515 'Specialpages' => [ 'SpecialPages' ],
516 'Statistics' => [ 'Statistics', 'Stats' ],
517 'Tags' => [ 'Tags' ],
518 'TalkPage' => [ 'TalkPage' ],
519 'TrackingCategories' => [ 'TrackingCategories' ],
520 'Unblock' => [ 'Unblock' ],
521 'Uncategorizedcategories' => [ 'UncategorizedCategories' ],
522 'Uncategorizedimages' => [ 'UncategorizedFiles', 'UncategorizedImages' ],
523 'Uncategorizedpages' => [ 'UncategorizedPages' ],
524 'Uncategorizedtemplates' => [ 'UncategorizedTemplates' ],
525 'Undelete' => [ 'Undelete' ],
526 'UnlinkAccounts' => [ 'UnlinkAccounts' ],
527 'Unlockdb' => [ 'UnlockDB' ],
528 'Unusedcategories' => [ 'UnusedCategories' ],
529 'Unusedimages' => [ 'UnusedFiles', 'UnusedImages' ],
530 'Unusedtemplates' => [ 'UnusedTemplates' ],
531 'Unwatchedpages' => [ 'UnwatchedPages' ],
532 'Upload' => [ 'Upload' ],
533 'UploadStash' => [ 'UploadStash' ],
534 'Userlogin' => [ 'UserLogin', 'Login' ],
535 'Userlogout' => [ 'UserLogout', 'Logout' ],
536 'Userrights' => [ 'UserRights', 'MakeSysop', 'MakeBot' ],
537 'Version' => [ 'Version' ],
538 'Wantedcategories' => [ 'WantedCategories' ],
539 'Wantedfiles' => [ 'WantedFiles' ],
540 'Wantedpages' => [ 'WantedPages', 'BrokenLinks' ],
541 'Wantedtemplates' => [ 'WantedTemplates' ],
542 'Watchlist' => [ 'Watchlist' ],
543 'Whatlinkshere' => [ 'WhatLinksHere' ],
544 'Withoutinterwiki' => [ 'WithoutInterwiki' ],
548 * Regular expression matching the "link trail", e.g. "ed" in [[Toast]]ed, as
549 * the first group, and the remainder of the string as the second group.
551 $linkTrail = '/^([a-z]+)(.*)$/sD';
554 * Regular expression charset matching the "link prefix", e.g. "foo" in
555 * foo[[bar]]. UTF-8 characters may be used.
557 $linkPrefixCharset = 'a-zA-Z\\x{80}-\\x{10ffff}';
560 * A list of messages to preload for each request.
561 * Here we add messages that are needed for a typical anonymous parser cache hit.
563 $preloadedMessages = [
564 'aboutpage',
565 'aboutsite',
566 'accesskey-ca-edit',
567 'accesskey-ca-history',
568 'accesskey-ca-nstab-main',
569 'accesskey-ca-talk',
570 'accesskey-ca-viewsource',
571 'accesskey-n-currentevents',
572 'accesskey-n-help',
573 'accesskey-n-mainpage-description',
574 'accesskey-n-portal',
575 'accesskey-n-randompage',
576 'accesskey-n-recentchanges',
577 'accesskey-p-logo',
578 'accesskey-pt-login',
579 'accesskey-pt-createaccount',
580 'accesskey-search',
581 'accesskey-search-fulltext',
582 'accesskey-search-go',
583 'accesskey-t-info',
584 'accesskey-t-permalink',
585 'accesskey-t-print',
586 'accesskey-t-recentchangeslinked',
587 'accesskey-t-specialpages',
588 'accesskey-t-whatlinkshere',
589 'actions',
590 'anonnotice',
591 'brackets',
592 'comma-separator',
593 'currentevents',
594 'currentevents-url',
595 'disclaimerpage',
596 'disclaimers',
597 'edit',
598 'editsection',
599 'editsectionhint',
600 'help',
601 'helppage',
602 'interlanguage-link-title',
603 'jumpto',
604 'jumptonavigation',
605 'jumptosearch',
606 'lastmodifiedat',
607 'mainpage',
608 'mainpage-description',
609 'mainpage-nstab',
610 'namespaces',
611 'navigation',
612 'nav-login-createaccount',
613 'nstab-main',
614 'opensearch-desc',
615 'pagecategories',
616 'pagecategorieslink',
617 'pagetitle',
618 'pagetitle-view-mainpage',
619 'permalink',
620 'personaltools',
621 'portal',
622 'portal-url',
623 'printableversion',
624 'privacy',
625 'privacypage',
626 'randompage',
627 'randompage-url',
628 'recentchanges',
629 'recentchangeslinked-toolbox',
630 'recentchanges-url',
631 'retrievedfrom',
632 'search',
633 'searcharticle',
634 'searchbutton',
635 'searchsuggest-search',
636 'sidebar',
637 'navigation-heading',
638 'site-atom-feed',
639 'sitenotice',
640 'specialpages',
641 'tagline',
642 'talk',
643 'toolbox',
644 'tooltip-ca-edit',
645 'tooltip-ca-history',
646 'tooltip-ca-nstab-main',
647 'tooltip-ca-talk',
648 'tooltip-ca-viewsource',
649 'tooltip-n-currentevents',
650 'tooltip-n-help',
651 'tooltip-n-mainpage-description',
652 'tooltip-n-portal',
653 'tooltip-n-randompage',
654 'tooltip-n-recentchanges',
655 'tooltip-p-logo',
656 'tooltip-pt-login',
657 'tooltip-pt-createaccount',
658 'tooltip-search',
659 'tooltip-search-fulltext',
660 'tooltip-search-go',
661 'tooltip-t-info',
662 'tooltip-t-permalink',
663 'tooltip-t-print',
664 'tooltip-t-recentchangeslinked',
665 'tooltip-t-specialpages',
666 'tooltip-t-whatlinkshere',
667 'variants',
668 'vector-view-edit',
669 'vector-view-history',
670 'vector-view-view',
671 'viewcount',
672 'views',
673 'whatlinkshere',
674 'word-separator',
677 $digitGroupingPattern = "#,##0.###";
679 $formalityIndex = 0;