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

TASK DESCRIPTION

Archivebot moves old comments from the main talk page to subpages. In doing so, the bot should ensure the subpages are linked from the main talk page so that readers will not miss moved comments.

This task is based on @Elvey's comment: https://meta.wikimedia.org/w/index.php?diff=15978644&oldid=15801003

Assertions:
Every language/wiki should have an archive box template.
One more variable pointing to a language-specific template ({{archive box auto}} for each language) is trivial compared to the alternative of not having this feature and maintaining links to archives manually. (And perhaps the variable already exists?)
I can't think of a case where we would want to allow auto archiving if the archive page to be created would have no incoming link from the original page. So I think having an option/setting is inappropriate.

Propose logic (sorry - not python!):
When archivebot active:

if the archive page to be created would have no incoming link from the original page
  if the variable pointing to a language-specific template is set for this language
    Add the template and perform archiving.
  else
    do neither
else 
  perform archiving

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

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

To: whym
Cc: Aklapper, pywikibot-bugs-list, whym, Elvey
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to