r88429 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r88428‎ | r88429 | r88430 >
Date:21:13, 19 May 2011
Author:reedy
Status:ok
Tags:
Comment:
Fix 2 things from CR in r88047, and one not noticed
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryLangBacklinks.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryLangBacklinks.php
@@ -79,7 +79,7 @@
8080 }
8181
8282 $prop = array_flip( $params['prop'] );
83 - $lllang = isset( $prop['llang'] );
 83+ $lllang = isset( $prop['lllang'] );
8484 $lltitle = isset( $prop['lltitle'] );
8585
8686 $this->addTables( array( 'langlinks', 'page' ) );
@@ -157,7 +157,7 @@
158158
159159 public function getAllowedParams() {
160160 return array(
161 - 'prefix' => null,
 161+ 'lang' => null,
162162 'title' => null,
163163 'continue' => null,
164164 'limit' => array(
@@ -181,7 +181,7 @@
182182 public function getParamDescription() {
183183 return array(
184184 'lang' => 'Language for the language link',
185 - 'title' => "Language link to search for. Must be used with {$this->getModulePrefix()}prefix",
 185+ 'title' => "Language link to search for. Must be used with {$this->getModulePrefix()}lang",
186186 'continue' => 'When more results are available, use this to continue',
187187 'prop' => array(
188188 'Which properties to get',

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r88047* (bug 28963) add langbacklinks module to api...reedy11:29, 14 May 2011

Status & tagging log