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