Go to the source code of this file.
Variables | |
$fallback = false | |
This is the default English localisation file. | |
$rtl = false | |
Is the language written right-to-left? Note that right-to-left languages generally also specify $defaultUserOptionOverrides = array( 'quickbar' => 2 );. | |
$digitTransformTable = null | |
Optional array mapping ASCII digits 0-9 to local digits. | |
$separatorTransformTable = null | |
Transform table for decimal point '. | |
$defaultUserOptionOverrides = array() | |
Overrides for the default user options. | |
$extraUserToggles = array() | |
Extra user preferences which will be shown in Special:Preferences as checkboxes. | |
$fallback8bitEncoding = 'windows-1252' | |
URLs do not specify their encoding. | |
$linkPrefixExtension = false | |
To allow "foo[[bar]]" to extend the link over the whole word "foobar". | |
$namespaceNames | |
Namespace names. | |
$namespaceAliases = array() | |
Array of namespace aliases, mapping from name to NS_xxx index. | |
$mathNames | |
Deprecated, use the message array. | |
$datePreferences | |
A list of date format preference keys which can be selected in user preferences. | |
$defaultDateFormat = 'dmy or mdy' | |
The date format to use for generated dates in the user interface. | |
$datePreferenceMigrationMap | |
Associative array mapping old numeric date formats, which may still be stored in user preferences, to the new string formats. | |
$dateFormats | |
These are formats for dates generated by MediaWiki (as opposed to the wikitext DateFormatter). | |
$bookstoreList | |
Default list of book sources. | |
$magicWords | |
Magic words Customisable syntax for wikitext and elsewhere. | |
$specialPageAliases | |
Alternate names of special pages. | |
$linkTrail = '/^([a-z]+)(.*)$/sD' | |
Regular expression matching the "link trail", e.g. | |
$imageFiles | |
List of filenames for some ui images that can be overridden per language basis if needed. | |
$messages |
$bookstoreList |
Initial value:
array( 'AddALL' => 'http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN', 'PriceSCAN' => 'http://www.pricescan.com/books/bookDetail.asp?isbn=$1', 'Barnes & Noble' => 'http://search.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1', 'Amazon.com' => 'http://www.amazon.com/exec/obidos/ISBN=$1' )
Definition at line 183 of file MessagesEn.php.
$dateFormats |
Initial value:
array( 'mdy time' => 'H:i', 'mdy date' => 'F j, Y', 'mdy both' => 'H:i, F j, Y', 'dmy time' => 'H:i', 'dmy date' => 'j F Y', 'dmy both' => 'H:i, j F Y', 'ymd time' => 'H:i', 'ymd date' => 'Y F j', 'ymd both' => 'H:i, Y F j', 'ISO 8601 time' => 'xnH:xni:xns', 'ISO 8601 date' => 'xnY-xnm-xnd', 'ISO 8601 both' => 'xnY-xnm-xnd"T"xnH:xni:xns', )
Documentation for the format string can be found in Language.php, search for sprintfDate.
This array is automatically inherited by all subclasses. Individual keys can be overridden.
Definition at line 162 of file MessagesEn.php.
$datePreferenceMigrationMap |
Initial value:
array( 'default', 'mdy', 'dmy', 'ymd' )
Definition at line 147 of file MessagesEn.php.
$datePreferences |
Initial value:
array( 'default', 'mdy', 'dmy', 'ymd', 'ISO 8601', )
New preference keys can be added, provided they are supported by the language class's timeanddate(). Only the 5 keys listed below are supported by the wikitext converter (DateFormatter.php).
The special key "default" is an alias for either dmy or mdy depending on $wgAmericanDates
Definition at line 127 of file MessagesEn.php.
$defaultDateFormat = 'dmy or mdy' |
The date format to use for generated dates in the user interface.
This may be one of the above date preferences, or the special value "dmy or mdy", which uses mdy if $wgAmericanDates is true, and dmy if $wgAmericanDates is false.
Definition at line 141 of file MessagesEn.php.
$defaultUserOptionOverrides = array() |
Overrides for the default user options.
This is mainly used by RTL languages.
Definition at line 42 of file MessagesEn.php.
$digitTransformTable = null |
Optional array mapping ASCII digits 0-9 to local digits.
Definition at line 32 of file MessagesEn.php.
$extraUserToggles = array() |
Extra user preferences which will be shown in Special:Preferences as checkboxes.
Extra settings in derived languages will automatically be appended to the array of the fallback languages.
Definition at line 49 of file MessagesEn.php.
$fallback = false |
This is the default English localisation file.
END USERS: DO NOT EDIT THIS FILE DIRECTLY!
Changes in this file will be lost during software upgrades. You can make your customizations on the wiki. While logged in as administrator, go to [[Special:Allmessages]] and edit the MediaWiki:* pages listed there. Fallback language, used for all unspecified messages and behaviour. This is English by default, for all files other than this one.
Do NOT set this to false in any other message file! Leave the line out to accept the default fallback to "en".
Definition at line 20 of file MessagesEn.php.
$fallback8bitEncoding = 'windows-1252' |
URLs do not specify their encoding.
UTF-8 is used by default, but if the URL is not a valid UTF-8 sequence, we have to try to guess what the real encoding is. The encoding used in this case is defined below, and must be supported by iconv().
Definition at line 57 of file MessagesEn.php.
$imageFiles |
Initial value:
array( 'button-bold' => 'button_bold.png', 'button-italic' => 'button_italic.png', 'button-link' => 'button_link.png', 'button-extlink' => 'button_extlink.png', 'button-headline' => 'button_headline.png', 'button-image' => 'button_image.png', 'button-media' => 'button_media.png', 'button-math' => 'button_math.png', 'button-nowiki' => 'button_nowiki.png', 'button-sig' => 'button_sig.png', 'button-hr' => 'button_hr.png', )
Definition at line 452 of file MessagesEn.php.
$linkPrefixExtension = false |
To allow "foo[[bar]]" to extend the link over the whole word "foobar".
Definition at line 62 of file MessagesEn.php.
$linkTrail = '/^([a-z]+)(.*)$/sD' |
Regular expression matching the "link trail", e.g.
"ed" in [[Toast]]ed, as the first group, and the remainder of the string as the second group.
Definition at line 446 of file MessagesEn.php.
$magicWords |
Magic words Customisable syntax for wikitext and elsewhere.
IDs must be valid identifiers, they cannot contain hyphens.
Note to translators: Please include the English words as synonyms. This allows people from other wikis to contribute more easily.
This array can be modified at runtime with the LanguageGetMagic hook
Definition at line 202 of file MessagesEn.php.
$mathNames |
Initial value:
array( MW_MATH_PNG => 'mw_math_png', MW_MATH_SIMPLE => 'mw_math_simple', MW_MATH_HTML => 'mw_math_html', MW_MATH_SOURCE => 'mw_math_source', MW_MATH_MODERN => 'mw_math_modern', MW_MATH_MATHML => 'mw_math_mathml' )
Definition at line 109 of file MessagesEn.php.
$messages |
Definition at line 473 of file MessagesEn.php.
$namespaceAliases = array() |
Array of namespace aliases, mapping from name to NS_xxx index.
Definition at line 104 of file MessagesEn.php.
$namespaceNames |
Initial value:
array( NS_MEDIA => 'Media', NS_SPECIAL => 'Special', NS_MAIN => '', NS_TALK => 'Talk', NS_USER => 'User', NS_USER_TALK => 'User_talk', # NS_PROJECT set by $wgMetaNamespace NS_PROJECT_TALK => '$1_talk', NS_FILE => 'File', NS_FILE_TALK => 'File_talk', NS_MEDIAWIKI => 'MediaWiki', NS_MEDIAWIKI_TALK => 'MediaWiki_talk', NS_TEMPLATE => 'Template', NS_TEMPLATE_TALK => 'Template_talk', NS_HELP => 'Help', NS_HELP_TALK => 'Help_talk', NS_CATEGORY => 'Category', NS_CATEGORY_TALK => 'Category_talk', )
NS_PROJECT is always set to $wgMetaNamespace after the settings are loaded, it will be ignored even if you specify it here.
NS_PROJECT_TALK will be set to $wgMetaNamespaceTalk if that variable is set, otherwise the string specified here will be used. The string may contain "$1", which will be replaced by the name of NS_PROJECT. It may also contain a grammatical transformation, e.g.
NS_PROJECT_TALK => 'Keskustelu_{{grammar:elative|$1}}'
Only one grammatical transform may be specified in the string. For performance reasons, this transformation is done locally by the language module rather than by the full wikitext parser. As a result, no other parser features are available.
Definition at line 80 of file MessagesEn.php.
$rtl = false |
Is the language written right-to-left? Note that right-to-left languages generally also specify $defaultUserOptionOverrides = array( 'quickbar' => 2 );.
Definition at line 27 of file MessagesEn.php.
$separatorTransformTable = null |
Transform table for decimal point '.
' and thousands separator ','
Definition at line 37 of file MessagesEn.php.
$specialPageAliases |
Alternate names of special pages.
All names are case-insensitive. The first listed alias will be used as the default. Aliases from the fallback localisation (usually English) will be included by default.
This array may be altered at runtime using the LanguageGetSpecialPageAliases hook.
Definition at line 352 of file MessagesEn.php.