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

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

archivebot: make TimeStripper more resilient for itwiki

Bug: T415880
Change-Id: I95a8339295a01631781dd6f2bfa1ccd60170c9da
Signed-off-by: Xqt <[email protected]>
---
M pywikibot/textlib.py
1 file changed, 3 insertions(+), 3 deletions(-)

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




diff --git a/pywikibot/textlib.py b/pywikibot/textlib.py
index 97ea55a..beb5bdc 100644
--- a/pywikibot/textlib.py
+++ b/pywikibot/textlib.py
@@ -1,6 +1,6 @@
 """Functions for manipulating wiki-text."""
 #
-# (C) Pywikibot team, 2008-2025
+# (C) Pywikibot team, 2008-2026
 #
 # Distributed under the terms of the MIT license.
 #
@@ -2234,8 +2234,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/+/1235109?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: stable
Gerrit-Change-Id: I95a8339295a01631781dd6f2bfa1ccd60170c9da
Gerrit-Change-Number: 1235109
Gerrit-PatchSet: 4
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