X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryStashImageInfo.php;h=1debb2e14cb01d6482970346424b492c82b846dc;hb=87070fc6743bfe5da7b49f07561fc1e0b03897c4;hp=21b58af1ee9435af990fd3abed9a511b4e2bb7d7;hpb=9b31f5324f6193ac483c7d0a607d62f74f6788ab;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryStashImageInfo.php b/includes/api/ApiQueryStashImageInfo.php index 21b58af1ee..1debb2e14c 100644 --- a/includes/api/ApiQueryStashImageInfo.php +++ b/includes/api/ApiQueryStashImageInfo.php @@ -90,7 +90,9 @@ class ApiQueryStashImageInfo extends ApiQueryImageInfo { 'prop' => array( ApiBase::PARAM_ISMULTI => true, ApiBase::PARAM_DFLT => 'timestamp|url', - ApiBase::PARAM_TYPE => self::getPropertyNames( $this->propertyFilter ) + ApiBase::PARAM_TYPE => self::getPropertyNames( $this->propertyFilter ), + ApiBase::PARAM_HELP_MSG => 'apihelp-query+imageinfo-param-prop', + ApiBase::PARAM_HELP_MSG_PER_VALUE => self::getPropertyMessages( $this->propertyFilter ) ), 'urlwidth' => array( ApiBase::PARAM_TYPE => 'integer', @@ -113,7 +115,7 @@ class ApiQueryStashImageInfo extends ApiQueryImageInfo { ); } - public function getExamplesMessages() { + protected function getExamplesMessages() { return array( 'action=query&prop=stashimageinfo&siifilekey=124sd34rsdf567' => 'apihelp-query+stashimageinfo-example-simple',