X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryFilearchive.php;h=408c7c2854fbb9098e3c772b5ae30cbc84a61a36;hb=b4cf6b43661d94c218f4fa6ab7dfc606378a08fc;hp=fcffc4d41821700260038aebf2fda8358cd69bc2;hpb=4477e5dbac5764af4b40d338e58f2975e34bd159;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryFilearchive.php b/includes/api/ApiQueryFilearchive.php index fcffc4d418..408c7c2854 100644 --- a/includes/api/ApiQueryFilearchive.php +++ b/includes/api/ApiQueryFilearchive.php @@ -207,7 +207,6 @@ class ApiQueryFilearchive extends ApiQueryBase { $file['suppressed'] = ''; } - $fit = $result->addValue( array( 'query', $this->getModuleName() ), null, $file ); if ( !$fit ) { $this->setContinueEnumParameter( 'continue', $row->fa_name ); @@ -219,7 +218,7 @@ class ApiQueryFilearchive extends ApiQueryBase { } public function getAllowedParams() { - return array ( + return array( 'from' => null, 'continue' => null, 'to' => null, @@ -282,7 +281,7 @@ class ApiQueryFilearchive extends ApiQueryBase { ' parseddescription - Parse the description on the version', ' mime - Adds MIME of the image', ' mediatype - Adds the media type of the image', - ' metadata - Lists EXIF metadata for the version of the image', + ' metadata - Lists Exif metadata for the version of the image', ' bitdepth - Adds the bit depth of the version', ' archivename - Adds the file name of the archive version for non-latest versions' ), @@ -374,8 +373,4 @@ class ApiQueryFilearchive extends ApiQueryBase { ), ); } - - public function getVersion() { - return __CLASS__ . ': $Id$'; - } }