http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88429
Revision: 88429
Author: reedy
Date: 2011-05-19 21:13:03 +0000 (Thu, 19 May 2011)
Log Message:
-----------
Fix 2 things from CR in r88047, and one not noticed
Modified Paths:
--------------
trunk/phase3/includes/api/ApiQueryLangBacklinks.php
Modified: trunk/phase3/includes/api/ApiQueryLangBacklinks.php
===================================================================
--- trunk/phase3/includes/api/ApiQueryLangBacklinks.php 2011-05-19 20:54:11 UTC
(rev 88428)
+++ trunk/phase3/includes/api/ApiQueryLangBacklinks.php 2011-05-19 21:13:03 UTC
(rev 88429)
@@ -79,7 +79,7 @@
}
$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 @@
public function getAllowedParams() {
return array(
- 'prefix' => null,
+ 'lang' => null,
'title' => null,
'continue' => null,
'limit' => array(
@@ -181,7 +181,7 @@
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',
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs