Framawiki created this task.
Framawiki added projects: Pywikibot-Other-scripts, Pywikibot-Commons.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION

When it prints It is not possible to upload a file without a summary/description., it should imperatively ask a description instead of ask Do you want to change this description? which is empty.

python pwb.py upload -family:commons -lang:commons test
Invalid input filename given. Try again.
URL, file or directory where files are now: https://farm3.staticflickr.com/2895/33707537950_fc233821a0_o_d.jpg
The filename on the target wiki will default to: 33707537950_fc233821a0_o_d.jpg
Enter a better name, or press enter to accept: Dafodills_33707537950_fc233821a0_o_d.jpg
The suggested description is:

It is not possible to upload a file without a summary/description.
Do you want to change this description? ([Y]es, [n]o, [q]uit): y
Uploading file to commons:commons via API...
Reading file https://farm3.staticflickr.com/2895/33707537950_fc233821a0_o_d.jpg
Upload of Dafodills_33707537950_fc233821a0_o_d.jpg successful.

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

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

To: Framawiki
Cc: Aklapper, pywikibot-bugs-list, Framawiki, Avicennasis
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to