MediaWiki  1.33.0
MediaWiki\Languages\Data\Names Class Reference

Language names in their own languages (language autonyms). More...

Static Public Attributes

static $names
 

Detailed Description

Language names in their own languages (language autonyms).

These determine things like interwikis, language selectors, and so on. Safe to change without running scripts on the respective sites.

\u{200E} is the left-to-right marker and \u{200F} is the right-to-left marker. They are required for ensuring the correct display of brackets in mixed rtl/ltr environment.

Some writing systems require some line-height fixes. This includes most Indic scripts, like Devanagari. If you are adding support for such a language, add it also to the relevant section in shared.css.

Do not use this class directly. Use Language::fetchLanguageNames(), which includes support for the CLDR extension.

Definition at line 47 of file Names.php.

Member Data Documentation

◆ $names

MediaWiki\Languages\Data\Names::$names
static

Definition at line 48 of file Names.php.


The documentation for this class was generated from the following file: