*/
class ApiQueryStashImageInfo extends ApiQueryImageInfo {
- public function __construct( $query, $moduleName ) {
+ public function __construct( ApiQuery $query, $moduleName ) {
parent::__construct( $query, $moduleName, 'sii' );
}
private $propertyFilter = array(
'user', 'userid', 'comment', 'parsedcomment',
- 'mediatype', 'archivename',
+ 'mediatype', 'archivename', 'uploadwarning',
);
public function getAllowedParams() {
/**
* Return the API documentation for the parameters.
- * @return Array parameter documentation.
+ * @return array Parameter documentation.
*/
public function getParamDescription() {
$p = $this->getModulePrefix();