Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
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 36: Line 36:
</nowiki></pre>
</nowiki></pre>


This tells me to archive threads from <code>User talk:Example</code> to <code>User talk:Example/Archive3</code> (more about variables [[#Variables|below]]) until it fills up to 250 kilobytes, whereupon I will move to 4 (updating the counter when saving page). Remember to '''specify the maximum size''' of an archive, or I will behave pretty much like in the first example.
This tells the bot to archive threads from <code>User talk:Example</code> to <code>User talk:Example/Archive3</code> (more about variables [[#Variables|below]]) until it fills up to 250 kilobytes, whereupon the bot will move to 4 (updating the counter when saving page). Remember to '''specify the maximum size''' of an archive, or it will behave pretty much like in the first example.


==== Example 3 - Date-based archives ====
==== Example 3 - Date-based archives ====
Line 49: Line 49:


==== Other things to add ====
==== Other things to add ====
Add the {{tl|ArchiveTOC}} template underneath this template so people can get to the archives faster. Archive Index's is something you add to the primary page.
Add the {{tl|ArchiveTOC}} template underneath this template so people can get to the archives faster. Archive Index's are not created by the bot yet.


=== Parameters explained ===
=== Parameters explained ===
Line 62: Line 62:
| <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: 1
| <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: 1
|-
|-
| <tt>maxarchivesize</tt> || Specifies the maximum archive size before incrementing the counter. Ignored if counter is not used.
| <tt>maxarchivesize</tt> || Specifies the maximum archive size before incrementing the counter. Ignored if counter is not used.
|-
| <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-message}}).
|-
|-
| <tt>index</tt> || Creates an index of all the archives for the current page. This must equal '''Y''' to work.
| <tt>index</tt> || Creates an index of all the archives for the current page. This must equal '''Y''' to work.
Line 89: Line 85:
  |}
  |}
= 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 December 19, 2007, it will only fill out the next archive number.
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]]

To edit this page, please enter the words that appear below in the box (more info):

Refresh
Cancel Editing help (opens in new window)

  [] · [[]] · [[|]] · {{}} · · “” ‘’ «» ‹› „“ ‚‘ · ~ | ° &nbsp; · ± × ÷ ² ³ ½ · §
     [[Category:]] · [[:File:]] · [[Special:MyLanguage/]] · <code></code> · <nowiki></nowiki> <code><nowiki></nowiki></code> · <syntaxhighlight></syntaxhighlight> · <includeonly></includeonly> · <noinclude></noinclude> · #REDIRECT[[]] · <translate></translate> · <languages/> · {{#translation:}} · <tvar|></> · {{DEFAULTSORT:}} · <categorytree></categorytree> · <div style="clear:both;"></div> <s></s> User page identification box: {{userpage}} Spammer identification box: {{spammer}}


Your changes will be visible immediately.
  • For testing, please use the sandbox instead.
  • On talk pages, please sign your comment by typing four tildes (~~~~).