Category:Bots/Archival

Pages in this category are tagged for automated archival. They must contain the following configuration tag with the appropriate information on the configuration page. Pages without a correct configuration tag will be skipped.

A bot will regularly go through this category and archive sections that are tagged with the following bot tag, where "section_name" is the name of the section to archive to (and is listed in the configuration).

Bot procedure
This is a detailed outline of the steps a bot may follow when activated. This section exists to aid in the creation of a script to perform this task.


 * 1) Search and verification
 * 2) Retrieve the list of pages in Category:Bots/Archival.
 * 3) Load the first page in the queue.
 * 4) Check if a valid archival tag is used (regex: (?://|/\*|)?) ).
 * 5) * If it isn't, add an appropriate note of this (regex: ).
 * 6) * If so, proceed.
 * 7) Check if any sections contain an action tag (regex: (?://|/\*|)? ).
 * 8) * If not, add an appropriate note of this (regex: ).
 * 9) * If so, proceed.
 * 10) Check each tag and ensure that the section matches one listed in the configuration.
 * 11) * If not, add an appropriate note of this (regex: ).
 * 12) * If so, proceed.
 * 13) Archival
 * 14) Remove from the current page
 * 15) Count the number of sections that are correctly tagged.
 * 16) Remove the appropriate sections from the page.
 * 17) Save with the edit summary "[bot] automated archival of n sections", where n is the aforementioned count.
 * 18) Archive
 * 19) Place them at the bottom of the appropriate section in the archive.
 * 20) Remove the bot action tags.
 * 21) Save with the edit summary "[bot] automated archival of n sections", where n is the aforementioned count.
 * 22) Update the topic listing.
 * 23) Proceed to the next page.