XZise added a comment.

It's funny… when it's so easy go ahead and we help you to get it merged. Anyway 
I looked through all `input` and `input_yn` calls:

- The first is before it even starts when the source file name is invalid. I 
guess `-always` will cause that to fail.
- One is verifying the file name but `-keep` can already switch that off. 
Should `-always` imply `-keep` then?
- When the file extension is invalid it asks you if you want to continue or 
change the name. What should `-always` do?
- When the file already exists it asks you if you want to continue or change 
the name. What should `-always` do?
- Additionally to the two above it may be that the file name is invalid (when 
you upload not to commons but it already exists in commons). May not apply to 
the project mentioned here but different from the two above `-always` will skip 
these files because that cannot be fixed without changing the file name.
- There is a question whether the description should be changed. Now if I 
understand the code correctly when the description is already defined 
beforehand it won't ask you. But obviously without defining it, `-always' won't 
be possible.
- And the last one is a question when a warning happened. There is already 
infrastructure to ignore it or abort it so `-always` could require it like the 
description.


TASK DETAIL
  https://phabricator.wikimedia.org/T106412

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: XZise
Cc: -jem-, Mr.Ajedrez, XZise, Aklapper, abian, pywikibot-bugs-list, jayvdb, 
Malyacko



_______________________________________________
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to