From: Robin Pepermans Date: Sun, 18 Dec 2011 13:50:34 +0000 (+0000) Subject: Clarify documentation X-Git-Tag: 1.31.0-rc.0~25912 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=c3df917edbe1fe6271a3a8eb3abe15310b8f065f;p=lhc%2Fweb%2Fwiklou.git Clarify documentation --- diff --git a/languages/Language.php b/languages/Language.php index 47adfbe79c..9b201c8d66 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -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 */