Hi, When deleting a file attachment via the Mediawiki::API->edit, how to get the revision number at that moment? For example, when i upload a file, i can find it by the query: *# Find the number of revision of the page which has the id="$id"* * my $query = { action => 'query', prop => 'revisions', rvprop => 'ids', pageids => $id, }; my $result = $mediawiki->api($query); ..........................................................................
*But, when deleting a file, we can't use this mechanism. I wonder if the API support a function to get this number of revision? Thanks.