Ashot1997 created this task.
Ashot1997 added projects: Pywikibot-archivebot.py, Pywikibot-textlib.py.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  I have been using archivebot.py to archive discussion pages on Armenian 
Wikipedia for a few years. A few days ago I noticed that it archives threads 
that should not be archived (example 
<https://hy.wikipedia.org/w/index.php?title=%D5%8E%D5%AB%D6%84%D5%AB%D5%BA%D5%A5%D5%A4%D5%AB%D5%A1:%D4%BD%D5%B8%D6%80%D5%B0%D6%80%D5%A4%D5%A1%D6%80%D5%A1%D5%B6&diff=prev&oldid=8994675>,
 last reply in the "Ադմինիստրատորների պասիվություն" thread is 2 days old, but 
the settings on this page is 30 days).
  
  I think the reason is that the time for the last signature is 20:15, 20 
հունվարի 2024 (UTC) (հունվարի means January in Armenian but it is using 
lowercase հ, instead of uppercase Հ). When I look into old discussions, the 
uppercase version was used before and I have no idea why this changed. Anyway, 
I tried to modify the script and this version 
<https://github.com/ashotjanibekyan/WikiPyScripts/blob/master/archivebot-own.py>
 works fine (example 
<https://hy.wikipedia.org/w/index.php?title=%D5%8E%D5%AB%D6%84%D5%AB%D5%BA%D5%A5%D5%A4%D5%AB%D5%A1%3A%D4%BD%D5%B8%D6%80%D5%B0%D6%80%D5%A4%D5%A1%D6%80%D5%A1%D5%B6&diff=9092871&oldid=9091441>).
 Basically, in the constructor of pywikibot.textlib.TimeStripper I change it to 
add both uppercase and lowercase versions for Armenian (similar to Vietnamese) 
month names to //origNames2monthNum//.

TASK DETAIL
  https://phabricator.wikimedia.org/T356175

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Ashot1997
Cc: Aklapper, pywikibot-bugs-list, Ashot1997, MJL
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to