From c3df917edbe1fe6271a3a8eb3abe15310b8f065f Mon Sep 17 00:00:00 2001 From: Robin Pepermans Date: Sun, 18 Dec 2011 13:50:34 +0000 Subject: [PATCH] Clarify documentation --- languages/Language.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 */ -- 2.20.1