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 -- To view, visit https://gerrit.wikimedia.org/r/223866 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ic3d4517e1e864e4f7a420d826618fc479ed3361c Gerrit-PatchSet: 1 Gerrit-Project: pywikibot/core Gerrit-Branch: 2.0 Gerrit-Owner: Merlijn van Deen <valhall...@arctus.nl> Gerrit-Reviewer: John Vandenberg <jay...@gmail.com> Gerrit-Reviewer: Ladsgroup <ladsgr...@gmail.com> Gerrit-Reviewer: Merlijn van Deen <valhall...@arctus.nl> Gerrit-Reviewer: XZise <commodorefabia...@gmx.de> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ Pywikibot-commits mailing list Pywikibot-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits