See mw:Manual:Pywikibot/archivebot.py/setup to learn how to set up an automatic archive system of a page.