Xqt has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1235351?usp=email )

Change subject: archivebot: make TimeStripper more resilient for itwiki
......................................................................

archivebot: make TimeStripper more resilient for itwiki

Bug: T415880
Change-Id: I585c914c283a2d267d317150c75ba39d223c2068
---
M pywikibot/textlib.py
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Xqt: Verified; Looks good to me, approved




diff --git a/pywikibot/textlib.py b/pywikibot/textlib.py
index 5e08c36..48b0ab6 100644
--- a/pywikibot/textlib.py
+++ b/pywikibot/textlib.py
@@ -2235,8 +2235,8 @@

         self.origNames2monthNum = {}
         # use first_lower/first_upper for those language where month names
-        # were changed: T324310, T356175
-        if self.site.lang in ('hy', 'vi'):
+        # were changed: T324310, T356175, T415880
+        if self.site.lang in ('hy', 'it', 'vi'):
             functions = [first_upper, first_lower]
         else:
             functions = [str]

--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1235351?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I585c914c283a2d267d317150c75ba39d223c2068
Gerrit-Change-Number: 1235351
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to