edwardspec / mediawiki-aws-s3

Extension:AWS allows MediaWiki to use Amazon S3 (instead of the local directory) to store images.
https://www.mediawiki.org/wiki/Extension:AWS
GNU General Public License v2.0
42 stars 32 forks source link

Does not work with newer regions #12

Closed mjh75 closed 6 years ago

mjh75 commented 6 years ago

I looks like the AWS SDK is an older version that does not have support for the newer AWS regions. I tried just changing the composer.json file to install a newer version for the aws-sdk but that broke other things - I did not spend much time trying to understand the changes. I suspect it is a change in the API from v2 to v3 that was causing the issues.

I do not know the effort required to upgrade the code to work with the latest aws-sdk but it might be worth it to gain support for the other regions and may other functionality as well.

edwardspec commented 6 years ago

Yes, AWS SDK v3 has slightly different API, so the code should be updated to use it. I'll investigate this.

edwardspec commented 6 years ago

Should be fixed now. AWS SDK v3 is now used.

Note: existing installations would need to run "composer install" if/when they choose to update Extension:AWS to this new version.