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