Index: trunk/phase3/includes/api/ApiQuerySiteinfo.php |
— | — | @@ -474,7 +474,7 @@ |
475 | 475 | public function appendLanguages( $property ) { |
476 | 476 | $params = $this->extractRequestParams(); |
477 | 477 | $langCode = isset( $params['inlanguagecode'] ) ? $params['inlanguagecode'] : ''; |
478 | | - $langNames = Language::getLanguageNames( $langCode ); |
| 478 | + $langNames = Language::fetchLanguageNames( $langCode ); |
479 | 479 | |
480 | 480 | $data = array(); |
481 | 481 | |