[FIX] Ignore warnings on upload

Although MediaWiki ignored the warnings it still returned them which
caused APISite.upload() to claim no success.

Bug: 58907
Change-Id: I6b0f538879d0c249e5baa95eccd2d1c6fefb6483