Clarify documentation
authorRobin Pepermans <robin@users.mediawiki.org>
Sun, 18 Dec 2011 13:50:34 +0000 (13:50 +0000)
committerRobin Pepermans <robin@users.mediawiki.org>
Sun, 18 Dec 2011 13:50:34 +0000 (13:50 +0000)
languages/Language.php

index 47adfbe..9b201c8 100644 (file)
@@ -638,7 +638,8 @@ class Language {
        }
 
        /**
-        * Get language names, indexed by code.
+        * Get native language names, indexed by code.
+        * Only those defined in MediaWiki, no other data like CLDR.
         * If $customisedOnly is true, only returns codes with a messages file
         *
         * @param $customisedOnly bool
@@ -699,6 +700,8 @@ class Language {
        }
 
        /**
+        * Get the native language name of $code.
+        * Only if defined in MediaWiki, no other data like CLDR.
         * @param $code string
         * @return string
         */