Don't print a FutureWarning until T271899 is solved
Don't print a FutureWarning until T271899 is solved

Following the Deprecation/FutureWarning in APISite.upload() will
raise a ValueError if ignore_warnings is boolean and report_success
is set by default. Therefore don't show a FutureWarning anymore until
T271899 has been solved finally.

Bug: T271899
Change-Id: I8c17f44e910ab2399a5ad1daf4c1203fd994ac8b

wikimedia/pywikibot-core,wikimedia/pywikibot-core