jenkins-bot has submitted this change and it was merged.
Change subject: [FIX] APISite.upload: Support exists-normalized ......................................................................
[FIX] APISite.upload: Support exists-normalized
The upload warning type 'exists-normalized' has been added in MW 1.22 but wasn't supported in pywikibot yet.
Change-Id: Ic3d4517e1e864e4f7a420d826618fc479ed3361c --- M pywikibot/site.py 1 file changed, 2 insertions(+), 0 deletions(-)
Approvals: Merlijn van Deen: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/site.py b/pywikibot/site.py index 12eb996..86d0c04 100644 --- a/pywikibot/site.py +++ b/pywikibot/site.py @@ -4962,6 +4962,8 @@ 'duplicate': "Uploaded file is a duplicate of %(msg)s.", 'badfilename': "Target filename is invalid.", 'filetype-unwanted-type': "File %(msg)s type is unwanted type.", + 'exists-normalized': 'File exists with different extension as ' + '"%(msg)s".', }
# check for required user right
pywikibot-commits@lists.wikimedia.org