MediaWiki REL1_40
MediaWiki\Languages\Data\Names Class Reference

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

Static Public Attributes

static $names
 @phpcs-require-sorted-array
 

Detailed Description

Language names in their own languages (known as "language autonyms").

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

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 LanguageNameUtils::getLanguageNames(), which includes support for the CLDR extension.

Definition at line 39 of file Names.php.

Member Data Documentation

◆ $names

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

@phpcs-require-sorted-array

Definition at line 41 of file Names.php.


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