Index: trunk/phase3/languages/Language.php |
— | — | @@ -638,7 +638,8 @@ |
639 | 639 | } |
640 | 640 | |
641 | 641 | /** |
642 | | - * Get language names, indexed by code. |
| 642 | + * Get native language names, indexed by code. |
| 643 | + * Only those defined in MediaWiki, no other data like CLDR. |
643 | 644 | * If $customisedOnly is true, only returns codes with a messages file |
644 | 645 | * |
645 | 646 | * @param $customisedOnly bool |
— | — | @@ -699,6 +700,8 @@ |
700 | 701 | } |
701 | 702 | |
702 | 703 | /** |
| 704 | + * Get the native language name of $code. |
| 705 | + * Only if defined in MediaWiki, no other data like CLDR. |
703 | 706 | * @param $code string |
704 | 707 | * @return string |
705 | 708 | */ |