Index: trunk/phase3/languages/Language.php |
— | — | @@ -678,8 +678,7 @@ |
679 | 679 | return self::fetchLanguageNames( $code, 'all' ); |
680 | 680 | } |
681 | 681 | |
682 | | - |
683 | | - /* |
| 682 | + /** |
684 | 683 | * Get an array of language names, indexed by code. |
685 | 684 | * @param $inLanguage null|string: Code of language in which to return the names |
686 | 685 | * Use null for autonyms (native names) |
— | — | @@ -687,7 +686,7 @@ |
688 | 687 | * 'all' all available languages |
689 | 688 | * 'mw' only if the language is defined in MediaWiki or wgExtraLanguageNames |
690 | 689 | * 'mwfile' only if the language is in 'mw' *and* has a message file |
691 | | - * @return array|false: language code => language name, false if $include is wrong |
| 690 | + * @return array|bool: language code => language name, false if $include is wrong |
692 | 691 | */ |
693 | 692 | public static function fetchLanguageNames( $inLanguage = null, $include = 'all' ) { |
694 | 693 | global $wgExtraLanguageNames; |