whym created this task.
whym added a project: Pywikibot-archivebot.py.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  **Feature summary** (what you would like to be able to do and where):
  
  When humans archive threads, they may cut and paste one big oldest block of 
threads. This tends to ensure the archived threads are ordered like how they 
were ordered originally. I want to emulate that by archivebot.
  
  Conceptually, the new mode will look this: the bot will first select the 
candidate threads to archive as usual, and divide them into continuous groups. 
Only the group that includes the top thread will remain as candidates. (This is 
just for explanation, there may be a simpler algorithm to achieve the same 
result.)
  
  **Use case(s)** (list the steps that you performed to discover that problem, 
and describe the actual underlying problem which you want to solve. Do not 
describe only a solution):
  
  Let' say it's 2021-02-01, the algorithm is old(365d), and we have 3 threads 
like this:
  
    == Thread A (updated in 2021-01-01) ==
    ....
    == Thread B (updated in 2020-01-01) ==
    ....
    == Thread C (updated in 2021-01-01) ==
    ....
    == Thread D (updated in 2021-02-01) ==
    ....
  
  Normally, the bot will archive Thread B immediately and leave the other 3, 
and wait until 2022-01-01 to archive A and C. The archive page will have B-A-C 
in that order.
  
  In the "archive top threads only" mode, I want it to leave the top 3 threads 
unchanged on 2021-02-01, because removing B while leaving A and C will make the 
archive unsorted. It will wait until 2022-01-01 and then it will archive the 
top 3 threads A-C together, assuming no update to the threads has been made in 
the 11 months. The archive page will have A-B-C in that order.
  
  **Benefits** (why should this be implemented?):
  
  This will help the bot to more strictly preserve the order of threads, which 
will make the archive cleaner to some people (at the expense of making 
archiving slower).

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

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

To: whym
Cc: Aklapper, pywikibot-bugs-list, whym, MJL, MarcoAurelio
_______________________________________________
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org

Reply via email to