Open JeanFred opened 9 years ago
On the back end this is not really hard − we already fetch the fullsize when requesting too big a size (since #2)
The UX aspect is what worries me − how to select this? Another argument --full-size``on the command line, exclusive with the
--width` flag? But what about the file list option?
What about assuming the user wants the full size if no size is specified?
@MarcoFalke Thanks for chiming in! That’s a good question − CommonsDownloader started its life as a thumbnail grabber so this was the original assumption which we can certainly revisit :)
The issue I have with this is that Wikimedia Commons files can be quite big (and some are properly huge) − not sure it is a nice experience to fire CommonsDownloader and end up downloading by default megabytes and megabytes. What do you think?
It really depends on where or by whom your application is used...
But if you want to change the current behavior as little as possible, what about using --width=-1
to request the full size. (Same behavior as the actual mediawiki API)
Requested by Coyau: wants CommonsDownloader to download the full-size file.