Help:Archiving a talk page

It is customary to periodically archive old discussions on a talk page when the talk page becomes too large. Archiving is often done automatically by a bot. Step-by-step instructions to set up automated archiving can be found at Help:Archiving (plain and simple). There are two main bots that archive talk pages:


 * User:ClueBot III will create archives based on the parameters set using User:ClueBot III/ArchiveThis.
 * User:Lowercase sigmabot III will create archives based on the parameters set using User:MiszaBot/config.

Archives can also be created manually. Manual archiving can be done by hand by cutting and pasting from a talk page to an archive subpage. One click archiving streamlines this process by adding an archive button to all talk page sections.

Only noticeboards and talk pages are archived because both can become very long. The talk page guidelines suggest archiving when the talk page exceeds 75 KB (or 75,000 bytes) or has multiple resolved or stale discussions. Older discussions that are still relevant can be summarized and linked using the template. Archiving one's own user talk page is preferred but optional; some users simply blank the page.

Technical overview
There are several standard ways to archive a talk page. Each consists of cutting and pasting sections from a talk page to an "Archive" subpage. The sections can archived manually or automatically. Manual archiving is done by editing the page by hand or using a one click archiving script that adds an archive button to talk page sections. Automatic archiving is done by a bot. There are two widely archiving bots, User:ClueBot III and User:Lowercase sigmabot III.

The most common method of naming talk page archives is with sequentially numbered archives. For example:


 * The 20th archive of Talk:Earth would be named
 * The first archive of User talk:Example would be named

Remember to use the correct namespace – the part before the colon – when archiving your own user talk page. It should start with " ", not " ".

Alternatively, archives are often named chronologically. Archive templates will not automatically detect subpages with unusual names.

Are there any existing archived talk pages?
Most of the methods here rely on checking if any archived talk pages already exist, and placing the new sections to be archived either into the most recent archive, or in a new archive numerically sequenced one above the existing archive. There is a search to check if any subpages exist under a talk page (and archived pages are usually placed in subpages of the existing talk page). In the search bar type:

For example
 * will display the talk page to this help page and all its archives.

Cut and paste procedure
The most basic way to manually archive a page is to cut the material from the talk page and paste it into an archive. If no archive exists, you will need to create a new subpage. Create the archive subpage at  where "N" is either "1", the next positive integer, or an appropriate name for a topic-specific archive (for example  ). When an archive subpage becomes too large, new archives can be created as needed.

When manually creating an archive, add to the top of each archive page. If an archive box doesn't already exist on the main talk page, add the line below the WikiProject tags. For the full list of archiving templates, see Category:Archival templates. For step-by-step instructions, see /Manual archiving.

Semi-automated cut and paste procedure
One click archiving allows you to archive any section of a talk page by clicking a button next to the section. To use this method, you'll need to install a user script. After installing one of the scripts listed below or at One click archiving, you will see links next to talk page headers allowing you to archive a section immediately:


 * User:Elli/OneClickArchiver – archives one section at a time
 * User:FlightTime/OneClickArchiver.js - archives one section at a time
 * User:andrybak/Archiver – archives multiple sections at once

Other manual procedures—like moving talk pages to archive subpages—are discouraged. See the discussion at Wikipedia talk:How to archive a talk page/Archive 1 for rationale.

Automated archiving
ClueBot III and lowercase sigmabot III can automatically create archives for any discussion page (one that has "talk" in the namespace), by moving sections to a subpage when the section has received no comments for a specified period of time. Both bots can archive sections into simple sequentially numbered archives (e.g.,  , ...), or archive according to date (e.g.  ,  , ...).

See the ClueBot III page and the lowercase sigmabot III page for detailed instructions on setting up these bots. Those pages explain each of the parameters used, such as,  , etc. The examples below are also available for use. All of the examples here are intended for you to be able to copy them while viewing this page and paste them into the edit box on your target page without requiring any modification to have a working configuration.

Choosing a bot
ClueBot III and lowercase sigmabot III, the two bots in current use for automated archiving, are similar in their behaviour, but have some differences in terms of features they implement and limitations on their use:

The following are example configurations to set up automatic archiving of an article talk page or user talk page. These configuration templates do not produce any visible output, so you should generally also include a template such as to provide readers with links to search and navigate the archives. These templates may also be configured with the parameters  and   to include a message notifying readers that automatic archiving is taking place. For example:.

Example with sequentially numbered archives
Both of the above examples will create archive pages, as needed, starting with  and continuing with , etc., when the current archive page grows to more than 75,000 bytes. Only sections with dates that are older than 90 days (2,160 hours) will be archived, although the five sections with the most recent contributions will be retained on the talk page no matter how long ago the last contribution was added. If archives for the page already exist, then set the counter/numberstart parameter to the next archive number in the series.

Warning: the magic word   is replaced by the talk page name when the template is saved to a talk page. However some punctuation characters that can appear in a page name are replaced by HTML character codes that are not recognised by the bots (see mediawikiwiki:Manual:PAGENAMEE encoding for details about these and other characters). For example  is replaced with   (so if the bot is to work then   must be replaced with  ). This can be circumvented by using  to automatically sort the encoding.

Bot and config details
The configuration template for lowercase sigmabot III is still named User:MiszaBot/config even though the original bots, MiszaBot I, MiszaBot II, and MiszaBot III, are no longer active.

The best age for threads to be archived will vary, depending on talk page activity. The purpose of archiving article talk pages should be to remove stale discussions, not to stifle discussion. Article talk page threads should not typically be archived in less than 30 days except for very busy talk pages.

The /  parameter determines how large each archive is allowed to grow before a new archive is started. Keeping this value larger than a typical talk page allows the archives to be browsed more easily, but increases page load times. Each individual archive should not be larger than 512kB, because this may cause accessibility problems for some devices. Because a large batch of threads can "overshoot" the  parameter, the parameter should always be set lower than the maximum acceptable archive size.

Category:Pages where archive parameter is not a subpage
One limitation of the way automatic archival instructions are set up is how page moves will easily break the functionality. For several reasons, the bots will generally only archive to subpages; that is, the archive must reside as one or more subpages to the talk page in question.

When a page is renamed (moved) and the user forgets to also update the bot instructions, this means that no further archiving will take place (until the bot instructions are updated manually). To facilitate identifying cases where archiving is interrupted, the Category:Pages where archive parameter is not a subpage was created.

If your talk page isn't archiving properly, you might want to check this category. If your page is included, this indicates that the specified archive pages are incorrect.

For archive pages
A template should be placed at the top of each archive page indicating that it is an archive. The simplest such template, which is automatically added (using its earlier names) by ClueBot III and Lowercase sigmabot III, is Archive. If the page is using sequentially numbered archives, you can instead use Automatic archive navigator which will add navigation links to earlier and later archives (example). The archiving bots can be configured to use templates like this using the  and   parameters, respectively. For example (for ClueBot III), header.

For talk pages
There are many templates that can be placed on talk pages to make the page's archives visible and accessible to editors. These can be broadly divided into "boxes" (which generally appear floating to the right of the table of contents), and banners. Some pages use one or the other, and some use both. Templates dedicated to archiving should generally be placed last, after all other talk templates, but before the discussions proper.

Archive link boxes
On regularly archived talk pages, it is useful to have an "archive box" template. Common usage is to place the archive box below other header templates and before the first section heading so that the box appears to the right of the table of contents. If the page already has a manual archive box, add the link to the new archive page to it. If there is no archive box yet, you may want to set one up.

The most common archive box template is Archives. It has a significant number of options. The  option causes the box to automatically find your archive page list. If  or   the links are shown as " ". If  the links are shown as " "). If the archives do not follow the standard naming scheme (/Archive #), or date labels are desired a manual list can be inputted in the first unnamed parameter as seen in example 2 below. There are also options which show a search field, permit the box to collapse/expand, start the box collapsed/expanded, etc. Many of these are shown in example 4 and all of them are explained in more detail at Template:Archive/doc.
 * Example 1

For a box with an automatically generated archive list with a search bar. Archives can be used without any extra parameters.


 * Example 2

For a box with a manual archive list and a search bar can be used. For the box to the right the code is:


 * Example 3

For a box with both an automatic and manual list can be used. The example below for Template talk:Archives where the archives for the old archive box template are shown use the following code:


 * Example 4

This template just demonstrate a lot of the parameters. Most of them are quite self explanatory.

Automatic archive boxes for year/month archives
Automatic archive boxes for Year/Month archives are a bit more complicated.

The most common method is by using the Archives by months template to generate links to your existing archives. It produces a live link for each existing archive month within a year. It is commonly used in something similar to:

The above code produces the archive box to the above right. The example here has no month names which are links because there are no archive files for this page. You can, of course, delete the lines for the years you don't want.

The default for the Archives by months template is that archive page names are in the format, , etc. However, Archives by months allows you to specify various naming conventions for your archives. Archives can have an arbitrary prefix by using the  parameter (e.g.   instead of Archive s /). Months can be in four formats: A) the default uses January, February, March, etc.; B)  months are Jan, Feb, Mar, etc.; C)   months are 1, 2, 3, ... 12; D)   months are 01, 02, 03, ... 12.

If you are using ClueBot III, it has a couple of additional options for creating an archive box. These involve the use of either the  or the   parameters. See the ClueBot III page for more information.

Archive link banner
Instead of putting the archive links in a box that floats to the right or left, some prefer the links in a banner like Talk header. Yearly and alphabetic archives are automatically detected in addition to regular sequential archives. A search box is by default included and if the page is archived by bots an auto archiving notice can be included by specifying archive_age in days.

The archive links show up in a row at the bottom of the above banner. For a real world example see Talk:Proxima Centauri.

Archive indexing
Having an archive index makes finding old discussions on a given topic easier, particularly in pages with many archives, or when the archives are of considerable size. An archive index, when one exists, is typically stored on the page. While it is possible to generate an index by hand, the  page is normally generated automatically. There are two bots which automatically create indexes: Legobot and ClueBot III.

Legobot, formerly HBC Archive Indexerbot, can create an archive index page based on a set of archives. See the bot's instructions for details on how to set up archive indexing. Legobot generated archive indexes are the most commonly available type of index. To set up Legobot archiving you have to create your   page and need to place:

on top of the index page. The following is a Legobot configuration that works with numbered archives which you can place on the page you are archiving:

ClueBot III automatically creates an archive index when archiving. ClueBot III stores the archive indexes it creates on unique pages in its user space. The archive index for the page you are archiving can be transcluded onto your  page by putting the following text in that page:

Archive searching
If there are several archives, it is easy to search them all at once using the optional search parameter prefix. For example, suppose we want to begin a discussion about adding a security section to the Linux article. Before bringing up the topic we can do the following search:. This will look in all the subpages of the Linux article in its Talk namespace.

The templates Archives, Archive box, and Talk header have a parameter  which provides a helpful search box on the talk page to automate searching, as do independent search templates such as search archives. It is recommended that when a page is archived, such a template be put on the surviving talk page to simplify access to past discussions.

Continuing discussions
If a thread has been archived prematurely, such as when it is still relevant to current work or was not concluded, unarchive it by copying it back to the talk page from the archive, and deleting it from the archive. Do not unarchive a thread that was effectively closed; instead, start a new discussion and link to the archived prior discussion.

Example pages
Here are actual discussion pages on Wikipedia where you can study the code to see how archive pages were created.
 * Talk:Psychokinesis has a simple archive box with a search field.
 * Talk:Jesus has a mixture of numbered and topical archives. It also includes a summary of recently archived discussions.
 * Talk:Main Page has many numbered archives. The archives are listed on a separate subpage and transcluded.