Merge "Add tests for WikiMap and WikiReference"
[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 * 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.
44 */
45 $extraUserToggles = array();
46
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().
52 */
53 $fallback8bitEncoding = 'windows-1252';
54
55 /**
56 * To allow "foo[[bar]]" to extend the link over the whole word "foobar"
57 */
58 $linkPrefixExtension = false;
59
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.
63 *
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.
68 *
69 * NS_PROJECT_TALK => 'Keskustelu_{{grammar:elative|$1}}'
70 *
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.
75 */
76 $namespaceNames = array(
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',
95 );
96
97 /**
98 * Array of namespace aliases, mapping from name to NS_xxx index
99 */
100 $namespaceAliases = array();
101
102 /**
103 * Array of gender specific. namespace aliases.
104 * Mapping NS_xxx to array of GENDERKEY to alias.
105 * Example:
106 * @code
107 * $namespaceGenderAliases = array(
108 * NS_USER => array( 'male' => 'Male_user', 'female' => 'Female_user' ),
109 * );
110 * @endcode
111 */
112 $namespaceGenderAliases = array();
113
114 /**
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).
119 *
120 * The special key "default" is an alias for either dmy or mdy depending on
121 * $wgAmericanDates
122 */
123 $datePreferences = array(
124 'default',
125 'mdy',
126 'dmy',
127 'ymd',
128 'ISO 8601',
129 );
130
131 /**
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.
136 */
137 $defaultDateFormat = 'dmy or mdy';
138
139 /**
140 * Associative array mapping old numeric date formats, which may still be
141 * stored in user preferences, to the new string formats.
142 */
143 $datePreferenceMigrationMap = array(
144 'default',
145 'mdy',
146 'dmy',
147 'ymd'
148 );
149
150 /**
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.
154 *
155 * This array is automatically inherited by all subclasses. Individual keys can be
156 * overridden.
157 */
158 $dateFormats = array(
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',
164
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',
170
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',
176
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'
182 );
183
184 /**
185 * Default list of book sources
186 */
187 $bookstoreList = array(
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' => 'http://www.amazon.com/gp/search/?field-isbn=$1'
191 );
192
193 /**
194 * Magic words
195 * Customizable syntax for wikitext and elsewhere.
196 *
197 * IDs must be valid identifiers, they cannot contain hyphens.
198 * CASE is 0 to match all case variants, 1 for case-sensitive
199 *
200 * Note to translators:
201 * Please include the English words as synonyms. This allows people
202 * from other wikis to contribute more easily.
203 *
204 * This array can be modified at runtime with the LanguageGetMagic hook
205 */
206 $magicWords = array(
207 # ID CASE SYNONYMS
208 'redirect' => array( 0, '#REDIRECT' ),
209 'notoc' => array( 0, '__NOTOC__' ),
210 'nogallery' => array( 0, '__NOGALLERY__' ),
211 'forcetoc' => array( 0, '__FORCETOC__' ),
212 'toc' => array( 0, '__TOC__' ),
213 'noeditsection' => array( 0, '__NOEDITSECTION__' ),
214 '!' => array( 1, '!' ),
215 'currentmonth' => array( 1, 'CURRENTMONTH', 'CURRENTMONTH2' ),
216 'currentmonth1' => array( 1, 'CURRENTMONTH1' ),
217 'currentmonthname' => array( 1, 'CURRENTMONTHNAME' ),
218 'currentmonthnamegen' => array( 1, 'CURRENTMONTHNAMEGEN' ),
219 'currentmonthabbrev' => array( 1, 'CURRENTMONTHABBREV' ),
220 'currentday' => array( 1, 'CURRENTDAY' ),
221 'currentday2' => array( 1, 'CURRENTDAY2' ),
222 'currentdayname' => array( 1, 'CURRENTDAYNAME' ),
223 'currentyear' => array( 1, 'CURRENTYEAR' ),
224 'currenttime' => array( 1, 'CURRENTTIME' ),
225 'currenthour' => array( 1, 'CURRENTHOUR' ),
226 'localmonth' => array( 1, 'LOCALMONTH', 'LOCALMONTH2' ),
227 'localmonth1' => array( 1, 'LOCALMONTH1' ),
228 'localmonthname' => array( 1, 'LOCALMONTHNAME' ),
229 'localmonthnamegen' => array( 1, 'LOCALMONTHNAMEGEN' ),
230 'localmonthabbrev' => array( 1, 'LOCALMONTHABBREV' ),
231 'localday' => array( 1, 'LOCALDAY' ),
232 'localday2' => array( 1, 'LOCALDAY2' ),
233 'localdayname' => array( 1, 'LOCALDAYNAME' ),
234 'localyear' => array( 1, 'LOCALYEAR' ),
235 'localtime' => array( 1, 'LOCALTIME' ),
236 'localhour' => array( 1, 'LOCALHOUR' ),
237 'numberofpages' => array( 1, 'NUMBEROFPAGES' ),
238 'numberofarticles' => array( 1, 'NUMBEROFARTICLES' ),
239 'numberoffiles' => array( 1, 'NUMBEROFFILES' ),
240 'numberofusers' => array( 1, 'NUMBEROFUSERS' ),
241 'numberofactiveusers' => array( 1, 'NUMBEROFACTIVEUSERS' ),
242 'numberofedits' => array( 1, 'NUMBEROFEDITS' ),
243 'pagename' => array( 1, 'PAGENAME' ),
244 'pagenamee' => array( 1, 'PAGENAMEE' ),
245 'namespace' => array( 1, 'NAMESPACE' ),
246 'namespacee' => array( 1, 'NAMESPACEE' ),
247 'namespacenumber' => array( 1, 'NAMESPACENUMBER' ),
248 'talkspace' => array( 1, 'TALKSPACE' ),
249 'talkspacee' => array( 1, 'TALKSPACEE' ),
250 'subjectspace' => array( 1, 'SUBJECTSPACE', 'ARTICLESPACE' ),
251 'subjectspacee' => array( 1, 'SUBJECTSPACEE', 'ARTICLESPACEE' ),
252 'fullpagename' => array( 1, 'FULLPAGENAME' ),
253 'fullpagenamee' => array( 1, 'FULLPAGENAMEE' ),
254 'subpagename' => array( 1, 'SUBPAGENAME' ),
255 'subpagenamee' => array( 1, 'SUBPAGENAMEE' ),
256 'rootpagename' => array( 1, 'ROOTPAGENAME' ),
257 'rootpagenamee' => array( 1, 'ROOTPAGENAMEE' ),
258 'basepagename' => array( 1, 'BASEPAGENAME' ),
259 'basepagenamee' => array( 1, 'BASEPAGENAMEE' ),
260 'talkpagename' => array( 1, 'TALKPAGENAME' ),
261 'talkpagenamee' => array( 1, 'TALKPAGENAMEE' ),
262 'subjectpagename' => array( 1, 'SUBJECTPAGENAME', 'ARTICLEPAGENAME' ),
263 'subjectpagenamee' => array( 1, 'SUBJECTPAGENAMEE', 'ARTICLEPAGENAMEE' ),
264 'msg' => array( 0, 'MSG:' ),
265 'subst' => array( 0, 'SUBST:' ),
266 'safesubst' => array( 0, 'SAFESUBST:' ),
267 'msgnw' => array( 0, 'MSGNW:' ),
268 'img_thumbnail' => array( 1, 'thumbnail', 'thumb' ),
269 'img_manualthumb' => array( 1, 'thumbnail=$1', 'thumb=$1' ),
270 'img_right' => array( 1, 'right' ),
271 'img_left' => array( 1, 'left' ),
272 'img_none' => array( 1, 'none' ),
273 'img_width' => array( 1, '$1px' ),
274 'img_center' => array( 1, 'center', 'centre' ),
275 'img_framed' => array( 1, 'framed', 'enframed', 'frame' ),
276 'img_frameless' => array( 1, 'frameless' ),
277 'img_lang' => array( 1, 'lang=$1' ),
278 'img_page' => array( 1, 'page=$1', 'page $1' ),
279 'img_upright' => array( 1, 'upright', 'upright=$1', 'upright $1' ),
280 'img_border' => array( 1, 'border' ),
281 'img_baseline' => array( 1, 'baseline' ),
282 'img_sub' => array( 1, 'sub' ),
283 'img_super' => array( 1, 'super', 'sup' ),
284 'img_top' => array( 1, 'top' ),
285 'img_text_top' => array( 1, 'text-top' ),
286 'img_middle' => array( 1, 'middle' ),
287 'img_bottom' => array( 1, 'bottom' ),
288 'img_text_bottom' => array( 1, 'text-bottom' ),
289 'img_link' => array( 1, 'link=$1' ),
290 'img_alt' => array( 1, 'alt=$1' ),
291 'img_class' => array( 1, 'class=$1' ),
292 'int' => array( 0, 'INT:' ),
293 'sitename' => array( 1, 'SITENAME' ),
294 'ns' => array( 0, 'NS:' ),
295 'nse' => array( 0, 'NSE:' ),
296 'localurl' => array( 0, 'LOCALURL:' ),
297 'localurle' => array( 0, 'LOCALURLE:' ),
298 'articlepath' => array( 0, 'ARTICLEPATH' ),
299 'pageid' => array( 0, 'PAGEID' ),
300 'server' => array( 0, 'SERVER' ),
301 'servername' => array( 0, 'SERVERNAME' ),
302 'scriptpath' => array( 0, 'SCRIPTPATH' ),
303 'stylepath' => array( 0, 'STYLEPATH' ),
304 'grammar' => array( 0, 'GRAMMAR:' ),
305 'gender' => array( 0, 'GENDER:' ),
306 'bidi' => array( 0, 'BIDI:' ),
307 'notitleconvert' => array( 0, '__NOTITLECONVERT__', '__NOTC__' ),
308 'nocontentconvert' => array( 0, '__NOCONTENTCONVERT__', '__NOCC__' ),
309 'currentweek' => array( 1, 'CURRENTWEEK' ),
310 'currentdow' => array( 1, 'CURRENTDOW' ),
311 'localweek' => array( 1, 'LOCALWEEK' ),
312 'localdow' => array( 1, 'LOCALDOW' ),
313 'revisionid' => array( 1, 'REVISIONID' ),
314 'revisionday' => array( 1, 'REVISIONDAY' ),
315 'revisionday2' => array( 1, 'REVISIONDAY2' ),
316 'revisionmonth' => array( 1, 'REVISIONMONTH' ),
317 'revisionmonth1' => array( 1, 'REVISIONMONTH1' ),
318 'revisionyear' => array( 1, 'REVISIONYEAR' ),
319 'revisiontimestamp' => array( 1, 'REVISIONTIMESTAMP' ),
320 'revisionuser' => array( 1, 'REVISIONUSER' ),
321 'revisionsize' => array( 1, 'REVISIONSIZE' ),
322 'plural' => array( 0, 'PLURAL:' ),
323 'fullurl' => array( 0, 'FULLURL:' ),
324 'fullurle' => array( 0, 'FULLURLE:' ),
325 'canonicalurl' => array( 0, 'CANONICALURL:' ),
326 'canonicalurle' => array( 0, 'CANONICALURLE:' ),
327 'lcfirst' => array( 0, 'LCFIRST:' ),
328 'ucfirst' => array( 0, 'UCFIRST:' ),
329 'lc' => array( 0, 'LC:' ),
330 'uc' => array( 0, 'UC:' ),
331 'raw' => array( 0, 'RAW:' ),
332 'displaytitle' => array( 1, 'DISPLAYTITLE' ),
333 'rawsuffix' => array( 1, 'R' ),
334 'nocommafysuffix' => array( 0, 'NOSEP' ),
335 'newsectionlink' => array( 1, '__NEWSECTIONLINK__' ),
336 'nonewsectionlink' => array( 1, '__NONEWSECTIONLINK__' ),
337 'currentversion' => array( 1, 'CURRENTVERSION' ),
338 'urlencode' => array( 0, 'URLENCODE:' ),
339 'anchorencode' => array( 0, 'ANCHORENCODE' ),
340 'currenttimestamp' => array( 1, 'CURRENTTIMESTAMP' ),
341 'localtimestamp' => array( 1, 'LOCALTIMESTAMP' ),
342 'directionmark' => array( 1, 'DIRECTIONMARK', 'DIRMARK' ),
343 'language' => array( 0, '#LANGUAGE:' ),
344 'contentlanguage' => array( 1, 'CONTENTLANGUAGE', 'CONTENTLANG' ),
345 'pagesinnamespace' => array( 1, 'PAGESINNAMESPACE:', 'PAGESINNS:' ),
346 'numberofadmins' => array( 1, 'NUMBEROFADMINS' ),
347 'formatnum' => array( 0, 'FORMATNUM' ),
348 'padleft' => array( 0, 'PADLEFT' ),
349 'padright' => array( 0, 'PADRIGHT' ),
350 'special' => array( 0, 'special' ),
351 'speciale' => array( 0, 'speciale' ),
352 'defaultsort' => array( 1, 'DEFAULTSORT:', 'DEFAULTSORTKEY:', 'DEFAULTCATEGORYSORT:' ),
353 'filepath' => array( 0, 'FILEPATH:' ),
354 'tag' => array( 0, 'tag' ),
355 'hiddencat' => array( 1, '__HIDDENCAT__' ),
356 'pagesincategory' => array( 1, 'PAGESINCATEGORY', 'PAGESINCAT' ),
357 'pagesize' => array( 1, 'PAGESIZE' ),
358 'index' => array( 1, '__INDEX__' ),
359 'noindex' => array( 1, '__NOINDEX__' ),
360 'numberingroup' => array( 1, 'NUMBERINGROUP', 'NUMINGROUP' ),
361 'staticredirect' => array( 1, '__STATICREDIRECT__' ),
362 'protectionlevel' => array( 1, 'PROTECTIONLEVEL' ),
363 'cascadingsources' => array( 1, 'CASCADINGSOURCES' ),
364 'formatdate' => array( 0, 'formatdate', 'dateformat' ),
365 'url_path' => array( 0, 'PATH' ),
366 'url_wiki' => array( 0, 'WIKI' ),
367 'url_query' => array( 0, 'QUERY' ),
368 'defaultsort_noerror' => array( 0, 'noerror' ),
369 'defaultsort_noreplace' => array( 0, 'noreplace' ),
370 'displaytitle_noerror' => array( 0, 'noerror' ),
371 'displaytitle_noreplace' => array( 0, 'noreplace' ),
372 'pagesincategory_all' => array( 0, 'all' ),
373 'pagesincategory_pages' => array( 0, 'pages' ),
374 'pagesincategory_subcats' => array( 0, 'subcats' ),
375 'pagesincategory_files' => array( 0, 'files' ),
376 );
377
378 /**
379 * Alternate names of special pages. All names are case-insensitive. The first
380 * listed alias will be used as the default. Aliases from the fallback
381 * localisation (usually English) will be included by default.
382 *
383 * This array may be altered at runtime using the LanguageGetSpecialPageAliases
384 * hook.
385 */
386 $specialPageAliases = array(
387 'Activeusers' => array( 'ActiveUsers' ),
388 'Allmessages' => array( 'AllMessages' ),
389 'AllMyUploads' => array( 'AllMyUploads', 'AllMyFiles' ),
390 'Allpages' => array( 'AllPages' ),
391 'ApiHelp' => array( 'ApiHelp' ),
392 'Ancientpages' => array( 'AncientPages' ),
393 'Badtitle' => array( 'Badtitle' ),
394 'Blankpage' => array( 'BlankPage' ),
395 'Block' => array( 'Block', 'BlockIP', 'BlockUser' ),
396 'Booksources' => array( 'BookSources' ),
397 'BrokenRedirects' => array( 'BrokenRedirects' ),
398 'Categories' => array( 'Categories' ),
399 'ChangeContentModel' => array( 'ChangeContentModel' ),
400 'ChangeEmail' => array( 'ChangeEmail' ),
401 'ChangePassword' => array( 'ChangePassword', 'ResetPass', 'ResetPassword' ),
402 'ComparePages' => array( 'ComparePages' ),
403 'Confirmemail' => array( 'ConfirmEmail' ),
404 'Contributions' => array( 'Contributions', 'Contribs' ),
405 'CreateAccount' => array( 'CreateAccount' ),
406 'Deadendpages' => array( 'DeadendPages' ),
407 'DeletedContributions' => array( 'DeletedContributions' ),
408 'Diff' => array( 'Diff' ),
409 'DoubleRedirects' => array( 'DoubleRedirects' ),
410 'EditTags' => array( 'EditTags' ),
411 'EditWatchlist' => array( 'EditWatchlist' ),
412 'Emailuser' => array( 'EmailUser', 'Email' ),
413 'ExpandTemplates' => array( 'ExpandTemplates' ),
414 'Export' => array( 'Export' ),
415 'Fewestrevisions' => array( 'FewestRevisions' ),
416 'FileDuplicateSearch' => array( 'FileDuplicateSearch' ),
417 'Filepath' => array( 'FilePath' ),
418 'Import' => array( 'Import' ),
419 'Invalidateemail' => array( 'InvalidateEmail' ),
420 'JavaScriptTest' => array( 'JavaScriptTest' ),
421 'BlockList' => array( 'BlockList', 'ListBlocks', 'IPBlockList' ),
422 'LinkSearch' => array( 'LinkSearch' ),
423 'Listadmins' => array( 'ListAdmins' ),
424 'Listbots' => array( 'ListBots' ),
425 'Listfiles' => array( 'ListFiles', 'FileList', 'ImageList' ),
426 'Listgrouprights' => array( 'ListGroupRights', 'UserGroupRights' ),
427 'Listredirects' => array( 'ListRedirects' ),
428 'ListDuplicatedFiles' => array( 'ListDuplicatedFiles', 'ListFileDuplicates' ),
429 'Listusers' => array( 'ListUsers', 'UserList' ),
430 'Lockdb' => array( 'LockDB' ),
431 'Log' => array( 'Log', 'Logs' ),
432 'Lonelypages' => array( 'LonelyPages', 'OrphanedPages' ),
433 'Longpages' => array( 'LongPages' ),
434 'MediaStatistics' => array( 'MediaStatistics' ),
435 'MergeHistory' => array( 'MergeHistory' ),
436 'MIMEsearch' => array( 'MIMESearch' ),
437 'Mostcategories' => array( 'MostCategories' ),
438 'Mostimages' => array( 'MostLinkedFiles', 'MostFiles', 'MostImages' ),
439 'Mostinterwikis' => array( 'MostInterwikis' ),
440 'Mostlinked' => array( 'MostLinkedPages', 'MostLinked' ),
441 'Mostlinkedcategories' => array( 'MostLinkedCategories', 'MostUsedCategories' ),
442 'Mostlinkedtemplates' => array( 'MostTranscludedPages', 'MostLinkedTemplates', 'MostUsedTemplates' ),
443 'Mostrevisions' => array( 'MostRevisions' ),
444 'Movepage' => array( 'MovePage' ),
445 'Mycontributions' => array( 'MyContributions' ),
446 'MyLanguage' => array( 'MyLanguage' ),
447 'Mypage' => array( 'MyPage' ),
448 'Mytalk' => array( 'MyTalk' ),
449 'Myuploads' => array( 'MyUploads', 'MyFiles' ),
450 'Newimages' => array( 'NewFiles', 'NewImages' ),
451 'Newpages' => array( 'NewPages' ),
452 'PagesWithProp' => array( 'PagesWithProp', 'Pageswithprop', 'PagesByProp', 'Pagesbyprop' ),
453 'PageLanguage' => array( 'PageLanguage' ),
454 'PasswordReset' => array( 'PasswordReset' ),
455 'PermanentLink' => array( 'PermanentLink', 'PermaLink' ),
456 'Preferences' => array( 'Preferences' ),
457 'Prefixindex' => array( 'PrefixIndex' ),
458 'Protectedpages' => array( 'ProtectedPages' ),
459 'Protectedtitles' => array( 'ProtectedTitles' ),
460 'Randompage' => array( 'Random', 'RandomPage' ),
461 'RandomInCategory' => array( 'RandomInCategory' ),
462 'Randomredirect' => array( 'RandomRedirect' ),
463 'Recentchanges' => array( 'RecentChanges' ),
464 'Recentchangeslinked' => array( 'RecentChangesLinked', 'RelatedChanges' ),
465 'Redirect' => array( 'Redirect' ),
466 'ResetTokens' => array( 'ResetTokens' ),
467 'Revisiondelete' => array( 'RevisionDelete' ),
468 'RunJobs' => array( 'RunJobs' ),
469 'Search' => array( 'Search' ),
470 'Shortpages' => array( 'ShortPages' ),
471 'Specialpages' => array( 'SpecialPages' ),
472 'Statistics' => array( 'Statistics' ),
473 'Tags' => array( 'Tags' ),
474 'TrackingCategories' => array( 'TrackingCategories' ),
475 'Unblock' => array( 'Unblock' ),
476 'Uncategorizedcategories' => array( 'UncategorizedCategories' ),
477 'Uncategorizedimages' => array( 'UncategorizedFiles', 'UncategorizedImages' ),
478 'Uncategorizedpages' => array( 'UncategorizedPages' ),
479 'Uncategorizedtemplates' => array( 'UncategorizedTemplates' ),
480 'Undelete' => array( 'Undelete' ),
481 'Unlockdb' => array( 'UnlockDB' ),
482 'Unusedcategories' => array( 'UnusedCategories' ),
483 'Unusedimages' => array( 'UnusedFiles', 'UnusedImages' ),
484 'Unusedtemplates' => array( 'UnusedTemplates' ),
485 'Unwatchedpages' => array( 'UnwatchedPages' ),
486 'Upload' => array( 'Upload' ),
487 'UploadStash' => array( 'UploadStash' ),
488 'Userlogin' => array( 'UserLogin', 'Login' ),
489 'Userlogout' => array( 'UserLogout', 'Logout' ),
490 'Userrights' => array( 'UserRights', 'MakeSysop', 'MakeBot' ),
491 'Version' => array( 'Version' ),
492 'Wantedcategories' => array( 'WantedCategories' ),
493 'Wantedfiles' => array( 'WantedFiles' ),
494 'Wantedpages' => array( 'WantedPages', 'BrokenLinks' ),
495 'Wantedtemplates' => array( 'WantedTemplates' ),
496 'Watchlist' => array( 'Watchlist' ),
497 'Whatlinkshere' => array( 'WhatLinksHere' ),
498 'Withoutinterwiki' => array( 'WithoutInterwiki' ),
499 );
500
501 /**
502 * Regular expression matching the "link trail", e.g. "ed" in [[Toast]]ed, as
503 * the first group, and the remainder of the string as the second group.
504 */
505 $linkTrail = '/^([a-z]+)(.*)$/sD';
506
507 /**
508 * Regular expression charset matching the "link prefix", e.g. "foo" in
509 * foo[[bar]]. UTF-8 characters may be used.
510 */
511 $linkPrefixCharset = 'a-zA-Z\\x{80}-\\x{10ffff}';
512
513 /**
514 * List of filenames for some ui images that can be overridden per language
515 * basis if needed.
516 */
517 $imageFiles = array(
518 'button-bold' => 'en/button_bold.png',
519 'button-italic' => 'en/button_italic.png',
520 'button-link' => 'en/button_link.png',
521 'button-extlink' => 'en/button_extlink.png',
522 'button-headline' => 'en/button_headline.png',
523 'button-image' => 'en/button_image.png',
524 'button-media' => 'en/button_media.png',
525 'button-nowiki' => 'en/button_nowiki.png',
526 'button-sig' => 'en/button_sig.png',
527 'button-hr' => 'en/button_hr.png',
528 );
529
530 /**
531 * A list of messages to preload for each request.
532 * Here we add messages that are needed for a typical anonymous parser cache hit.
533 */
534 $preloadedMessages = array(
535 'aboutpage',
536 'aboutsite',
537 'accesskey-ca-edit',
538 'accesskey-ca-history',
539 'accesskey-ca-nstab-main',
540 'accesskey-ca-talk',
541 'accesskey-ca-viewsource',
542 'accesskey-n-currentevents',
543 'accesskey-n-help',
544 'accesskey-n-mainpage-description',
545 'accesskey-n-portal',
546 'accesskey-n-randompage',
547 'accesskey-n-recentchanges',
548 'accesskey-p-logo',
549 'accesskey-pt-login',
550 'accesskey-pt-createaccount',
551 'accesskey-search',
552 'accesskey-search-fulltext',
553 'accesskey-search-go',
554 'accesskey-t-info',
555 'accesskey-t-permalink',
556 'accesskey-t-print',
557 'accesskey-t-recentchangeslinked',
558 'accesskey-t-specialpages',
559 'accesskey-t-whatlinkshere',
560 'actions',
561 'anonnotice',
562 'brackets',
563 'comma-separator',
564 'currentevents',
565 'currentevents-url',
566 'disclaimerpage',
567 'disclaimers',
568 'edit',
569 'editsection',
570 'editsectionhint',
571 'help',
572 'helppage',
573 'interlanguage-link-title',
574 'jumpto',
575 'jumptonavigation',
576 'jumptosearch',
577 'lastmodifiedat',
578 'mainpage',
579 'mainpage-description',
580 'mainpage-nstab',
581 'namespaces',
582 'navigation',
583 'nav-login-createaccount',
584 'nstab-main',
585 'opensearch-desc',
586 'pagecategories',
587 'pagecategorieslink',
588 'pagetitle',
589 'pagetitle-view-mainpage',
590 'permalink',
591 'personaltools',
592 'portal',
593 'portal-url',
594 'printableversion',
595 'privacy',
596 'privacypage',
597 'randompage',
598 'randompage-url',
599 'recentchanges',
600 'recentchangeslinked-toolbox',
601 'recentchanges-url',
602 'retrievedfrom',
603 'search',
604 'searcharticle',
605 'searchbutton',
606 'searchsuggest-search',
607 'sidebar',
608 'navigation-heading',
609 'site-atom-feed',
610 'sitenotice',
611 'specialpages',
612 'tagline',
613 'talk',
614 'toolbox',
615 'tooltip-ca-edit',
616 'tooltip-ca-history',
617 'tooltip-ca-nstab-main',
618 'tooltip-ca-talk',
619 'tooltip-ca-viewsource',
620 'tooltip-n-currentevents',
621 'tooltip-n-help',
622 'tooltip-n-mainpage-description',
623 'tooltip-n-portal',
624 'tooltip-n-randompage',
625 'tooltip-n-recentchanges',
626 'tooltip-p-logo',
627 'tooltip-pt-login',
628 'tooltip-pt-createaccount',
629 'tooltip-search',
630 'tooltip-search-fulltext',
631 'tooltip-search-go',
632 'tooltip-t-info',
633 'tooltip-t-permalink',
634 'tooltip-t-print',
635 'tooltip-t-recentchangeslinked',
636 'tooltip-t-specialpages',
637 'tooltip-t-whatlinkshere',
638 'variants',
639 'vector-view-edit',
640 'vector-view-history',
641 'vector-view-view',
642 'viewcount',
643 'views',
644 'whatlinkshere',
645 'word-separator',
646 );