https://bugzilla.wikimedia.org/show_bug.cgi?id=69090

John Mark Vandenberg <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|PATCH_TO_REVIEW             |NEW

--- Comment #2 from John Mark Vandenberg <[email protected]> ---
It is a bit better now, as there is no traceback, but the check and error needs
to occur before asking the user a lot of questions.

$ python pwb.py upload -family:wikidata -lang:test
No input filename given
File or URL where image is now:
https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png
The filename on the target wiki will default to:
PNG_transparency_demonstration_1.png
Enter a better name, or press enter to accept: 
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 wikidata:test via API....
Reading file
https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png
WARNING: API warning (tokens): action=tokens has been deprecated. Please use
action=query&meta=tokens instead.
ERROR: Upload error: Local file uploads are disabled on wikidata:test.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to