Hi,
    Is it possible to download old versions of a file (image, pdf ..) with the function MediaWiki::API->download( $params_hashref )?  When I tried to call this function for example with filename 'File:20120606205541!Test.txt' which is located in directory images/archive/  I got empty result.
 According to the documentation of the download function, it means the file doesn't exist on the MediaWiki.
"If the file does not exist (on the wiki) an empty string is returned. If the file is unable to be downloaded undef is returned."

Thanks.