X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryAllLinks.php;h=347da89606cffc90aaf9e673ffa366fd64b9838e;hb=df629219aa37c8083a684dfac23007c1a6df0375;hp=1a4a4d9041371318b7224d679effe4369bc8da6c;hpb=78bd923ab9e11163799784519465e1bc29d70076;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryAllLinks.php b/includes/api/ApiQueryAllLinks.php index 1a4a4d9041..347da89606 100644 --- a/includes/api/ApiQueryAllLinks.php +++ b/includes/api/ApiQueryAllLinks.php @@ -200,7 +200,9 @@ class ApiQueryAllLinks extends ApiQueryGeneratorBase { } if ( is_null( $resultPageSet ) ) { - $vals = array(); + $vals = array( + ApiResult::META_TYPE => 'assoc', + ); if ( $fld_ids ) { $vals['fromid'] = intval( $row->pl_from ); } @@ -253,6 +255,7 @@ class ApiQueryAllLinks extends ApiQueryGeneratorBase { ApiBase::PARAM_TYPE => array_merge( array( 'ids', 'title' ), array_keys( $this->props ) ), + ApiBase::PARAM_HELP_MSG_PER_VALUE => array(), ), 'namespace' => array( ApiBase::PARAM_DFLT => $this->dfltNamespace,