X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fapi%2FApiQuerySearch.php;h=f0c41800691c957d8f3635aa8047c746f94f718a;hp=0dd89228593894ecaffb36816127f83a0aeac421;hb=89539f2aa1b158fdcc703ad053e2580cb97a6385;hpb=36395150104588f2afea866c330b683e4329fa48 diff --git a/includes/api/ApiQuerySearch.php b/includes/api/ApiQuerySearch.php index 0dd8922859..f0c4180069 100644 --- a/includes/api/ApiQuerySearch.php +++ b/includes/api/ApiQuerySearch.php @@ -233,6 +233,7 @@ class ApiQuerySearch extends ApiQueryGeneratorBase { $title = $result->getTitle(); ApiQueryBase::addTitleInfo( $vals, $title ); + $vals['pageid'] = $title->getArticleID(); if ( isset( $prop['size'] ) ) { $vals['size'] = $result->getByteSize();