X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryIWLinks.php;h=82619cc46334d69cbecfc12945a25aa65a12b000;hb=c0ee3dd1d906e735fddccdc6754e00ea35844146;hp=c1208cb64a37f255664de4ccfe75c31f1d60f61c;hpb=885a8bdc47e6f5b9add4d5ddcb9c63a2d95e3a70;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryIWLinks.php b/includes/api/ApiQueryIWLinks.php index c1208cb64a..82619cc463 100644 --- a/includes/api/ApiQueryIWLinks.php +++ b/includes/api/ApiQueryIWLinks.php @@ -129,7 +129,7 @@ class ApiQueryIWLinks extends ApiQueryBase { } } - ApiResult::setContent( $entry, $row->iwl_title ); + ApiResult::setContentValue( $entry, 'title', $row->iwl_title ); $fit = $this->addPageSubItem( $row->iwl_from, $entry ); if ( !$fit ) { $this->setContinueEnumParameter( @@ -151,7 +151,8 @@ class ApiQueryIWLinks extends ApiQueryBase { ApiBase::PARAM_ISMULTI => true, ApiBase::PARAM_TYPE => array( 'url', - ) + ), + ApiBase::PARAM_HELP_MSG_PER_VALUE => array(), ), 'prefix' => null, 'title' => null,