X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryExtLinksUsage.php;h=38eba12c7381f26910f67f7f9af666a191e74746;hb=7060acd95863d4021afa2701f9e779de61e6a560;hp=a26eff273dd59b2d086a8aa48e7a64ce47b9ea30;hpb=78bd923ab9e11163799784519465e1bc29d70076;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryExtLinksUsage.php b/includes/api/ApiQueryExtLinksUsage.php index a26eff273d..38eba12c73 100644 --- a/includes/api/ApiQueryExtLinksUsage.php +++ b/includes/api/ApiQueryExtLinksUsage.php @@ -112,7 +112,9 @@ class ApiQueryExtLinksUsage extends ApiQueryGeneratorBase { } if ( is_null( $resultPageSet ) ) { - $vals = array(); + $vals = array( + ApiResult::META_TYPE => 'assoc', + ); if ( $fld_ids ) { $vals['pageid'] = intval( $row->page_id ); } @@ -153,7 +155,8 @@ class ApiQueryExtLinksUsage extends ApiQueryGeneratorBase { 'ids', 'title', 'url' - ) + ), + ApiBase::PARAM_HELP_MSG_PER_VALUE => array(), ), 'offset' => array( ApiBase::PARAM_TYPE => 'integer',