MediaWiki master
|
Go to the source code of this file.
Variables | |
$bookstoreList | |
Default list of book sources. | |
$dateFormats | |
These are formats for dates generated by MediaWiki (as opposed to the wikitext DateFormatter). | |
$datePreferenceMigrationMap | |
Associative array mapping old numeric date formats, which may still be stored in user preferences, to the new string formats. | |
$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. | |
$digitGroupingPattern = "#,##0.###" | |
$digitTransformTable = null | |
Optional array mapping ASCII digits 0-9 to local digits. | |
$fallback = false | |
This is the default English localisation file containing language specific information excluding interface strings, which are stored in JSON files. | |
$fallback8bitEncoding = 'windows-1252' | |
URLs do not specify their encoding. | |
$formalityIndex = 0 | |
$linkPrefixCharset = 'a-zA-Z\\x{80}-\\x{10ffff}' | |
Regular expression charset matching the "link prefix", e.g. | |
$linkPrefixExtension = false | |
To allow "foo[[bar]]" to extend the link over the whole word "foobar". | |
$linkTrail = '/^([a-z]+)(.*)$/sD' | |
Regular expression matching the "link trail", e.g. | |
$magicWords | |
Magic words Customizable syntax for wikitext and elsewhere. | |
$minimumGroupingDigits = 1 | |
The minimum number of digits a number must have, in addition to the grouping size, before grouping separators are added. | |
$namespaceAliases | |
Array of namespace aliases, mapping from name to NS_xxx index. | |
$namespaceGenderAliases = [] | |
Array of gender specific. | |
$namespaceNames | |
Namespace names. | |
$preloadedMessages | |
A list of messages to preload for each request. | |
$rtl = false | |
Is the language written right-to-left? | |
$separatorTransformTable = null | |
Transform table for decimal point '. | |
$specialPageAliases | |
Alternate names of special pages. | |
$bookstoreList |
Default list of book sources.
Definition at line 194 of file MessagesEn.php.
$dateFormats |
These are formats for dates generated by MediaWiki (as opposed to the wikitext DateFormatter).
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 165 of file MessagesEn.php.
$datePreferenceMigrationMap |
Associative array mapping old numeric date formats, which may still be stored in user preferences, to the new string formats.
Definition at line 150 of file MessagesEn.php.
$datePreferences |
A list of date format preference keys, which can be selected in user preferences.
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 (parser/DateFormatter.php).
The special key "default" is an alias for either dmy or mdy depending on $wgAmericanDates
Definition at line 130 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 144 of file MessagesEn.php.
$digitGroupingPattern = "#,##0.###" |
Definition at line 683 of file MessagesEn.php.
$digitTransformTable = null |
Optional array mapping ASCII digits 0-9 to local digits.
Definition at line 26 of file MessagesEn.php.
$fallback = false |
This is the default English localisation file containing language specific information excluding interface strings, which are stored in JSON files.
Please see https://www.mediawiki.org/wiki/Localisation for more information. Fallback language, used for all unspecified messages and behavior. 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 16 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 49 of file MessagesEn.php.
$formalityIndex = 0 |
Definition at line 685 of file MessagesEn.php.
$linkPrefixCharset = 'a-zA-Z\\x{80}-\\x{10ffff}' |
Regular expression charset matching the "link prefix", e.g.
"foo" in foo[[bar]]. UTF-8 characters may be used.
Definition at line 563 of file MessagesEn.php.
$linkPrefixExtension = false |
To allow "foo[[bar]]" to extend the link over the whole word "foobar".
Definition at line 54 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 557 of file MessagesEn.php.
$magicWords |
Magic words Customizable syntax for wikitext and elsewhere.
IDs must be valid identifiers, they cannot contain hyphens. CASE is 0 to match all case variants, 1 for case-sensitive
Note to localisers:
Definition at line 219 of file MessagesEn.php.
$minimumGroupingDigits = 1 |
The minimum number of digits a number must have, in addition to the grouping size, before grouping separators are added.
For example, Polish has minimumGroupingDigits = 2, which with a grouping size of 3 causes 4-digit numbers to be written like 9999, but 5-digit numbers are written like "10 000".
Definition at line 41 of file MessagesEn.php.
$namespaceAliases |
Array of namespace aliases, mapping from name to NS_xxx index.
Note that 'namespaceAliases' is a mergable language attribute, which means it is combined with other languages in the fallback chain.
Definition at line 99 of file MessagesEn.php.
$namespaceGenderAliases = [] |
Array of gender specific.
namespace aliases. Mapping NS_xxx to array of GENDERKEY to alias. Example:
Definition at line 119 of file MessagesEn.php.
$namespaceNames |
Namespace names.
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 72 of file MessagesEn.php.
$preloadedMessages |
A list of messages to preload for each request.
Here we add messages that are needed for a typical anonymous parser cache hit.
Definition at line 569 of file MessagesEn.php.
$rtl = false |
Is the language written right-to-left?
Definition at line 21 of file MessagesEn.php.
$separatorTransformTable = null |
Transform table for decimal point '.
' and thousands separator ','
Definition at line 31 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. @phpcs-require-sorted-array
Definition at line 409 of file MessagesEn.php.