https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112992

Revision: 112992
Author:   reedy
Date:     2012-03-05 00:05:31 +0000 (Mon, 05 Mar 2012)
Log Message:
-----------
Fix missing * from start of comment block

Also minor documentation update

Modified Paths:
--------------
    trunk/phase3/languages/Language.php

Modified: trunk/phase3/languages/Language.php
===================================================================
--- trunk/phase3/languages/Language.php 2012-03-04 23:56:25 UTC (rev 112991)
+++ trunk/phase3/languages/Language.php 2012-03-05 00:05:31 UTC (rev 112992)
@@ -678,8 +678,7 @@
                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 @@
         *              '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;


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to