break;
}
} else {
- $titles[] = Title::makeTitle( NS_IMAGE, $row->img_name );
+ $titles[] = Title::makeTitle( NS_FILE, $row->img_name );
}
}
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';
}