The archivebot.py is a script to archive discussion pages.
§How it works?[edit | edit source]
The bot examines backlinks (Special:Whatlinkshere) to the requested page(s). It then goes through all pages (or a specific page if specified using options) and archives old discussions. This is done by breaking a page into threads, then scanning each thread for timestamps. Threads older than a specified threshold are then moved to another page (the archive), the name of which can be based on either the thread's name or a counter that is incremented when the archive reaches a certain size. For a documentation on on-wiki setup, please see archivebot.py/setup.