dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cae5ee
)
Clarify documentation
author
Robin Pepermans
<robin@users.mediawiki.org>
Sun, 18 Dec 2011 13:50:34 +0000
(13:50 +0000)
committer
Robin Pepermans
<robin@users.mediawiki.org>
Sun, 18 Dec 2011 13:50:34 +0000
(13:50 +0000)
languages/Language.php
patch
|
blob
|
history
diff --git
a/languages/Language.php
b/languages/Language.php
index
47adfbe
..
9b201c8
100644
(file)
--- 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
*/