MediaWiki master
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.

See https://www.mediawiki.org/wiki/Manual:Adding_and_removing_languages for detailed documentation about maintaining this file, especially:

  • Finding the correct autonym.
  • What other files may have to be updated when updating this one.
  • Special handling for languages written in scripts of South and South-East Asia (Devanagari, Burmese, etc.).

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

Definition at line 41 of file Names.php.

Member Data Documentation

◆ $names

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

@phpcs-require-sorted-array

Definition at line 43 of file Names.php.


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