Fix missing * from start of comment block
authorSam Reed <reedy@users.mediawiki.org>
Mon, 5 Mar 2012 00:05:31 +0000 (00:05 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Mon, 5 Mar 2012 00:05:31 +0000 (00:05 +0000)
Also minor documentation update

languages/Language.php

index 4cfee5b..ce552e5 100644 (file)
@@ -678,8 +678,7 @@ class Language {
                return self::fetchLanguageNames( $code, 'all' );
        }
 
-
-       /*
+       /**
         * Get an array of language names, indexed by code.
         * @param $inLanguage null|string: Code of language in which to return the names
         *                                                                      Use null for autonyms (native names)
@@ -687,7 +686,7 @@ class Language {
         *              'all' all available languages
         *              'mw' only if the language is defined in MediaWiki or wgExtraLanguageNames
         *              'mwfile' only if the language is in 'mw' *and* has a message file
-        * @return array|false: language code => language name, false if $include is wrong
+        * @return array|bool: language code => language name, false if $include is wrong
         */
        public static function fetchLanguageNames( $inLanguage = null, $include = 'all' ) {
                global $wgExtraLanguageNames;