Editing User:ArchiveBot
520 editsJoined
More actions
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 53: | Line 53: | ||
=== Parameters explained === | === Parameters explained === | ||
{| class = " | {| class = "prettytable" | ||
! | ! parameter || meaning | ||
|- | |- | ||
| <tt>archive</tt> || Name of the page to which archived threads will be put. Supports [[#Variables|variables]]. | | <tt>archive</tt> || Name of the page to which archived threads will be put. Supports [[#Variables|variables]]. | ||
|- | |- | ||
| <tt>algo</tt> || Algorithm that instructs the bot how to decide whether to archive a thread or not. Complex formulas (including regex matching) will be available in the future, but so far it '''must''' be of the form '''<tt>old(...)</tt>''' where '''...''' specifies the maximum age of a thread (in hours or days: ''24h'', ''72h'', ''5d'', ''21d'' etc.) | | <tt>algo</tt> || Algorithm that instructs the bot how to decide whether to archive a thread or not. Complex formulas (including regex matching) will be available in the future, but so far it '''must''' be of the form '''<tt>old(...)</tt>''' where '''...''' specifies the maximum age of a thread (in hours or days: ''24h'', ''72h'', ''5d'', ''21d'' etc.) | ||
|- | |- | ||
| <tt>counter</tt> || The current value of the counter. If the <tt>%(counter)d</tt> variable is not used, it is ignored. Bot will update this parameter as necessary. | | <tt>counter</tt> || The current value of the counter. If the <tt>%(counter)d</tt> variable is not used, it is ignored. Bot will update this parameter as necessary. | ||
|- | |- | ||
| <tt>minthreadsleft</tt> || The minimum number of threads that should be left on a page (to prevent pages from getting completely harvested). Default value: | | <tt>maxarchivesize</tt> || The maximum archive size before incrementing the counter. Ignored if counter is not used. | ||
|- | |||
| <tt>minthreadsleft</tt> || The minimum number of threads that should be left on a page (to prevent pages from getting completely harvested). Default value: 5 | |||
|- | |||
| <tt>minthreadstoarchive</tt> || The minimum number of threads to archive at one time (lowers edit frequency by refusing to act when only few threads would be archived). Default value: 2 | |||
|- | |||
| <tt>archiveheader</tt> || Content that will be put on new archive pages as the header. Supports [[#Variables|variables]]. '''Cannot''' be multiline (use a template like {{tl|archive-nav}}). Defaults to {{tl|talkarchive}}. | |||
|- | |- | ||
| <tt> | | <tt>key</tt> || Secret key that (if valid) allows archives to '''not''' be subpages of the page being archived. To obtain such a key, [[User talk:Misza13|ask me]] and have a good reason for that. :-) | ||
|} | |||
|} | |||
=== Variables === | === Variables === | ||
| Line 89: | Line 89: | ||
|} | |} | ||
= When a new archive is created = | = When a new archive is created = | ||
When a new archive is created, the bot will automaticly add {{tl|archive-message}} to the top. Depending on the type of archive it is creating, the fields will be filled out. As of | When a new archive is created, the bot will automaticly add {{tl|archive-message}} to the top. Depending on the type of archive it is creating, the fields will be filled out. As of June 14, 2007, it will only fill out the next archive number. | ||
= See Also = | = See Also = | ||
* [[:Category:Automatically archived pages]] | * [[:Category:Automatically archived pages]] | ||