Elvey added a comment.

Thanks for creating this.
Thinking about strategies.
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

Make sense? I think the title should be changed back or changed again.


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

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

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

Reply via email to