From: Sam Reed Date: Thu, 19 May 2011 21:13:03 +0000 (+0000) Subject: Fix 2 things from CR in r88047, and one not noticed X-Git-Tag: 1.31.0-rc.0~30071 X-Git-Url: http://git.cyclocoop.org/%22.%20generer_url_ecrire%28%22sites_tous%22%2C%22%22%29.%20%22?a=commitdiff_plain;h=f595f554d455efbdbf333f0b6052679455614f37;p=lhc%2Fweb%2Fwiklou.git Fix 2 things from CR in r88047, and one not noticed --- diff --git a/includes/api/ApiQueryLangBacklinks.php b/includes/api/ApiQueryLangBacklinks.php index 4e2e8fa86f..959ee78993 100644 --- a/includes/api/ApiQueryLangBacklinks.php +++ b/includes/api/ApiQueryLangBacklinks.php @@ -79,7 +79,7 @@ class ApiQueryLangBacklinks extends ApiQueryGeneratorBase { } $prop = array_flip( $params['prop'] ); - $lllang = isset( $prop['llang'] ); + $lllang = isset( $prop['lllang'] ); $lltitle = isset( $prop['lltitle'] ); $this->addTables( array( 'langlinks', 'page' ) ); @@ -157,7 +157,7 @@ class ApiQueryLangBacklinks extends ApiQueryGeneratorBase { public function getAllowedParams() { return array( - 'prefix' => null, + 'lang' => null, 'title' => null, 'continue' => null, 'limit' => array( @@ -181,7 +181,7 @@ class ApiQueryLangBacklinks extends ApiQueryGeneratorBase { public function getParamDescription() { return array( 'lang' => 'Language for the language link', - 'title' => "Language link to search for. Must be used with {$this->getModulePrefix()}prefix", + 'title' => "Language link to search for. Must be used with {$this->getModulePrefix()}lang", 'continue' => 'When more results are available, use this to continue', 'prop' => array( 'Which properties to get',