X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryAllImages.php;h=ce5aac2d384d31d1550c581d2a92e84bd1800648;hb=8f390bcfac38ec47e8a1068ea016e5c654bf7be9;hp=87e70248df8049e54f0824961cb587deb3672d4b;hpb=4614e395e4ff9766f7e3ff3a3e03e0339622294c;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryAllImages.php b/includes/api/ApiQueryAllImages.php index 87e70248df..ce5aac2d38 100644 --- a/includes/api/ApiQueryAllImages.php +++ b/includes/api/ApiQueryAllImages.php @@ -230,6 +230,19 @@ class ApiQueryAllImages extends ApiQueryGeneratorBase { private $propertyFilter = array( 'archivename' ); + public function getResultProperties() { + return array_merge( + array( + '' => array( + 'name' => 'string', + 'ns' => 'namespace', + 'title' => 'string' + ) + ), + ApiQueryImageInfo::getResultPropertiesFiltered( $this->propertyFilter ) + ); + } + public function getDescription() { return 'Enumerate all images sequentially'; }