Index: trunk/phase3/includes/api/ApiQuerySiteinfo.php |
— | — | @@ -270,7 +270,7 @@ |
271 | 271 | } |
272 | 272 | |
273 | 273 | $params = $this->extractRequestParams(); |
274 | | - $langCode = isset( $params['inlanguagecode '] ) ? $params['inlanguagecode '] : ''; |
| 274 | + $langCode = isset( $params['inlanguagecode'] ) ? $params['inlanguagecode'] : ''; |
275 | 275 | |
276 | 276 | if( $langCode ) { |
277 | 277 | $langNames = Language::getTranslatedLanguageNames( $langCode ); |
— | — | @@ -476,7 +476,7 @@ |
477 | 477 | |
478 | 478 | public function appendLanguages( $property ) { |
479 | 479 | $params = $this->extractRequestParams(); |
480 | | - $langCode = isset( $params['inlanguagecode '] ) ? $params['inlanguagecode '] : ''; |
| 480 | + $langCode = isset( $params['inlanguagecode'] ) ? $params['inlanguagecode'] : ''; |
481 | 481 | |
482 | 482 | if( $langCode ) { |
483 | 483 | $langNames = Language::getTranslatedLanguageNames( $langCode ); |
— | — | @@ -583,7 +583,7 @@ |
584 | 584 | ), |
585 | 585 | 'showalldb' => false, |
586 | 586 | 'numberingroup' => false, |
587 | | - 'inlanguagecode ' => null, |
| 587 | + 'inlanguagecode' => null, |
588 | 588 | ); |
589 | 589 | } |
590 | 590 | |