From f595f554d455efbdbf333f0b6052679455614f37 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Thu, 19 May 2011 21:13:03 +0000 Subject: [PATCH] Fix 2 things from CR in r88047, and one not noticed --- includes/api/ApiQueryLangBacklinks.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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', -- 2.20.1