Changes

Jump to navigation Jump to search
Grammar
{{pp-vandalism|small=yes}}
{{About||Wikipedia's historical archive|Wikipedia:Historical archive|help on archiving web pages|Help:Archiving a source}}{{Pp-move-indef}}
{{Wikipedia how to|H:ARC|WP:ARCHIVE|WP:AATP}}

It is customary to periodically '''archive old discussions on a talk page''' when that page becomes too large. Bulky [[Help:Using talk pages|talk pages]] may be hard to navigate, contain obsolete discussion, or become a burden for users with slow Internet connections or computers. Notices are placed at the beginning of the talk page to inform all editors of an archive.

Regular articles are not archived because previous versions may be seen in the [[Help:Page history|page history]]; the practice of archiving is particular to talk pages and noticeboards, which often swell to great length. Archiving one's own user talk page is optional; some users simply [[WP:BLANKING|blank the page]], as the history is kept available for future reference, but this is not considered the best practice (as it makes things more difficult to find and link). For this specific case, the use of "permalinks" can provide an easy way to display an archived view of a talk page at a given moment, though there's no control on thread organization or presentation.

The [[Wikipedia:Talk page guidelines#When to archive pages|talk page guidelines]] suggest archiving when the talk page exceeds 75 KB (or 75,000 bytes), or has multiple resolved or stale discussions. However, when to archive, and what may be the optimal length for a talk page, are subjective decisions that should be adapted to each case. For example, ongoing discussions and nearby sections they reference should generally be kept intact.

There may be circumstances where it would be useful to keep older discussions present on a talk page, to avoid the same issues being repeatedly raised. However, this situation can be better addressed by use of the {{Tlx|FAQ}} template.

== Subpage archive method ==
The preferred method for archiving a talk page is to copy the older content to a series of [[Wikipedia:Subpages|subpages]]. This can be performed either [[#Cut and paste procedure|by hand]] or [[#Automated archiving|automatically]] by a bot.

There are two common methods of naming archive pages. The most common, and easiest, is sequentially numbered archives. Archive pages should be named as follows: take the name of the talk page, and add "<code>/Archive&nbsp;#</code>", where "<code>#</code>" is the number of the archive. Note that the word ''Archive'' has a capital ''A'', there is a space before the number, and there are no leading zeros. Templates like {{Tl|Archive list}} rely on this naming convention to automatically find the archive pages.

For example:
* The 20th archive of [[Talk:Earth]] would be named <code>Talk:Earth/Archive&nbsp;20</code>
* The first archive of [[User talk:Example]] would be named <code>User talk:Example/Archive&nbsp;1</code>

The second common method of naming archive pages is by year and month. With this method archive pages are typically named <code>Talk:YourPage/Archives/2013/June</code>, <code>Talk:YourPage/Archives/2013/July</code>, etc. Some things are more complex with this method of naming. When using this naming scheme the subpages should use <code>/Archives/</code> not <code>/Archive/</code> as some of the navigation templates rely on Archives being plural.

Remember to use the correct namespace&nbsp;– the part before the colon (<code>:</code>)&nbsp;– when archiving your own user talk page. It should start with "<code>User talk:</code>", not "<code>Talk:</code>".

=== Cut and paste procedure ===

{{Collapse top|Simplified procedure for archiving|expand=true}}

# Edit the talk page, copying material you wish to archive to your computer's [[Clipboard (computing)|clipboard]].
# Create an archive by searching for "User talk:username/Archive N" where N is the lowest whole number for which no archive exists. Your archive will be the N-th archive.
# Searching should say that this page does not exist. Click the provided link to create/start it.
# Paste the clipboard contents into this archive and add {{Tlx|Talk archive}} to the top and bottom of the code. Publish the new archive.
# Delete copied material from main talk page with edit summary mentioning the name of the new archive.
# If an archive box doesn't already exist on the main talk page, add the line {{Tlx|Archives|auto{{=}}yes|search{{=}}yes}} below the WikiProject tags and publish. (This will not be necessary if the main talk page already contains the line {{Tlx|Talk header}}, since this template automatically contains a list of archives).

That is it, you are finished!

{{Collapse bottom}}

==== Step-by-step procedure ====
# Click on the '''Edit source''' tab for the talk page you wish to archive.
# In the edit box, highlight all the text you want to archive, right-click (Windows/Linux) or control-click (Mac) and then select '''[[Cut, copy, and paste|cut]]''' (also {{Key press|Ctrl|X}}, {{Key press|Cmd|X}} for Mac). The text will then be copied to your clipboard. Any [[Wikipedia:WikiProject|WikiProject]] header templates should remain on the main talk page and should not be cut and pasted to an archive page.
# While still in the edit window, [[Wikipedia:FAQ/Editing#How do I make links?|make a link]] to the archive name you plan on creating&nbsp;– you can link directly to a subpage by putting a slash (/) in front of it.
#* If you're making a topical archive, use the name of the topic, for example <nowiki>[[</nowiki><code>/Place&nbsp;of&nbsp;birth&nbsp;debate</code><nowiki>]]</nowiki>.
#* If you're just archiving old discussion, use the next available number; so if the last archive page was Archive 3, call it <nowiki>[[</nowiki><code>/Archive&nbsp;4</code><nowiki>]]</nowiki>.
#* If there are no archives yet, call it <nowiki>[[</nowiki><code>/Archive&nbsp;1</code><nowiki>]]</nowiki>.
#* Archive links can be conveniently placed in an archive template (How to do this is described in the [[#Archive box|archive box]] section below)
# Click '''Publish changes'''. (It's helpful to include an Edit summary like "Archiving old material".) You should now have a page of recent discussion with a red link to your archive at the top.
# Open the newly created subpage by clicking the red link. Paste the old discussions from your clipboard into the edit box.
# Add {{Tlx|Talk archive}} to the top and bottom of the page. This adds a notice explaining that the page is an archive, and links back to the main talk page.
# If this is a numbered archive, you can add a navigation template to make it easier to navigate through to other numbered archives. See the section '''[[#Navigation templates|navigation templates]]''' below.
# '''Publish changes'''. You have now created an archive.

==== Semi-automated procedure ====

[[User:Σ/Testing facility/Archiver|Archy McArchface]] is a userscript designed to simplify the above manual procedure. Instead of manually copying and pasting the text, this script allows you to simply check which sections you wish to archive and specify a page to archive the selected sections to.

== Options ==

There are many options for customizing how and when archives are created, and how they are navigated. Some of the more popular ones are detailed below.

=== Automated archiving ===
{{Notice|All archiving tasks which used to be performed by the MiszaBots are now performed by '''[[User:lowercase sigmabot III|lowercase&nbsp;sigmabot&nbsp;III]]''' without the need to change the <nowiki>{{User:MiszaBot/config}}</nowiki> configuration.}}

[[User:ClueBot III|ClueBot III]] and [[User:lowercase sigmabot III|lowercase sigmabot III]] can automatically create [[#Cut and paste procedure|cut-and-paste 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. <code>YourPage/Archive&nbsp;1</code>, <code>YourPage/Archive&nbsp;2</code>, ...), or archive according to date (e.g. <code>YourPage/Archives/2013/June</code>, <code>YourPage/Archives/2013/July</code>, ...).

See the '''[[User:lowercase sigmabot III/Archive HowTo|lowercase sigmabot III page]]''' and the '''[[User:ClueBot III#How to archive your page|ClueBot III page]]''' for detailed instructions on setting up these bots. Those pages explain each of the parameters used, such as "counter", "minthreadsleft", 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.

ClueBot III also creates an index of your archives. Lowercase sigmabot III requires the use of an additional bot which has also commonly been used with ClueBot III. See [[#Archive indexing]] for more information.

ClueBot III can take several days between the time the configuration template is first placed on a page and when archiving begins ({{History2|Talk:Creation Museum|2|example of 4 day delay|201312090940}}). Lowercase sigmabot III typically begins archiving new pages the first time the bot runs after the configuration template is placed on the page. Lowercase sigmabot III typically begins runs at [[UTC±00:00|00:00 UTC]] daily.

'''Note:''' Make sure to establish consensus before setting up lowercase sigmabot III or ClueBot III on a talk page other than your user talk page.

Example configurations to set up automatic archiving of an article talk page or user talk page (you can add one of the following near the top of the page):

In general, you should include <code><nowiki>{{</nowiki>Archives|bot=''bot name''}}</code> (to provide a search box) along with the content of one the following columns (starting with <code><nowiki>{{</nowiki></code> and ending with <code>}}</code>).

{| class="wikitable"
|-
! colspan="2" | Sequentially numbered archives
|-
! [[User:lowercase sigmabot III/Archive HowTo|lowercase sigmabot III]] !! [[User:ClueBot III#How to archive your page|ClueBot III]]
|- style="vertical-align:top;"
| <!-- This is intended to be able to be copied while you are viewing the page, not while editing. --><pre>
<nowiki>{{User:MiszaBot/config
| algo=old(90d)
| archive={{SUBST:FULLPAGENAME}}/Archive %(counter)d
| counter=1
| maxarchivesize=75K
| archiveheader={{Automatic archive navigator}}
| minthreadsleft=5
| minthreadstoarchive=2
}}</nowiki></pre>
|| <!-- This is intended to be able to be copied while you are viewing the page, not while editing. --><pre>
<nowiki>{{User:ClueBot III/ArchiveThis
| age=2160
| archiveprefix={{SUBST:FULLPAGENAME}}/Archive
| numberstart=1
| maxarchsize=75000
| header={{Automatic archive navigator}}
| minkeepthreads=5
| minarchthreads=2
| format= %%i
}}</nowiki>
</pre>
|-
| colspan="2" |Both of the above examples will create archive pages, as needed, starting with <code>YourPage/Archive&nbsp;1</code> and continuing with <code>YourPage/Archive&nbsp;2</code>, 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.
|}

{| class="wikitable"
|-
! colspan="2" | Archives by year/month
|-
! [[User:lowercase sigmabot III/Archive HowTo|lowercase sigmabot III]] !! [[User:ClueBot III#How to archive your page|ClueBot III]]
|- style="vertical-align:top;"
|
Note: In this configuration lowercase sigmabot III (lcSB3) puts threads into archives based on the last date in each thread. Here is an example of lcSB3 splitting an archiving task of 185 threads into {{Contribs2|lowercase sigmabot III|57|54 YYYY/Month based archives|201312042104}}.
||
Note:Each time ClueBot III runs it places threads in a ''single'' archive which is the YYYY/Month of (NOW - age). If you are starting archiving with a backlog this will result in a ''single file'' with all of your old threads older than <code>age</code>. ClueBot III does not appear to run every single day. Thus, even when archiving has been running for a while, some threads may end up in an archive that is one month later than when they were last edited.<br />
|- style="vertical-align:top;"
| <!-- This is intended to be able to be copied while you are viewing the page, not while editing. --><pre>
<nowiki>{{User:MiszaBot/config
| algo=old(90d)
| archive={{SUBST:FULLPAGENAME}}/Archives/%(year)d/%(monthname)s
| minthreadsleft=4
| minthreadstoarchive=2
}}</nowiki></pre>
|| <!-- This is intended to be able to be copied while you are viewing the page, not while editing. --><pre>
<nowiki>{{User:ClueBot III/ArchiveThis
| age=2160
| archiveprefix={{SUBST:FULLPAGENAME}}/Archives/
| minkeepthreads=4
| minarchthreads=3
| format=Y/F
}}</nowiki>
</pre>
|-
| colspan="2" |Both of the above examples will create archive pages, as needed, with names similar to <code>YourPage/Archives/June</code>, <code>YourPage/Archives/July</code>, etc. Only sections with dates that are older than 90 days (2,160 hours) will be archived.
|}

The configuration template for lowercase sigmabot III is still named <nowiki>{{</nowiki>[[User:MiszaBot/config]]<nowiki>}}</nowiki> even though the original bots, [[User:MiszaBot I|MiszaBot I]], [[User:MiszaBot II|MiszaBot II]], and [[User:MiszaBot III|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 maxarchivesize 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 (a maxarch[ive]size parameter of "512K" or "512000", respectively), because this may cause accessibility problems for some devices. Because a long thread can "overshoot" the maxarch[ive]size parameter, the parameter should always be set lower than the maximum acceptable archive size.

=== Navigation templates ===
{{Warchivenav|state=collapsed}}

If the archive page is a numbered archive page ("Archive #" where # is the number of the archive), you can add a navigation template to make it easier to navigate through to other numbered archives.
* <code>'''{{Tl|Archive navigation}}'''</code> needs the archive number as a parameter&nbsp;– for example <code><nowiki>{{Archive navigation|3}}</nowiki></code> on Archive 3.
* <code>'''{{Tl|Archive nav}}'''</code> similar to the above, but a dynamic list of links,&nbsp;– for example <code><nowiki>{{Archive nav|33}}</nowiki></code> on Archive 33.
* <code>'''{{Tl|Talk archive navigation}}'''</code>, adds navigation features to the standard notice.
* <code>'''{{Tl|Talk header}}'''</code> contains an automatically appearing archive list and archive search box, if numbered archives exist (e.g. /Archive 1, /Archive 2, ...)

=== Archive boxes ===
{{Anchor|Archive box}}
On regularly archived talk pages, it is useful to have an "archive box" [[WP:TMP|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 [[Help:Section#Table of contents (TOC)|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. If you have a very large number of archives (such as [[Talk:Main Page]]) you may want to see how that page uses a separate subpage to list the archives.
{{Archives |auto= short|search= yes |title=Archives ([[{{#titleparts:{{TALKPAGENAME}}|1}}/Archive index|index]]) |bot= ClueBot III |age= 90
| style=background-color:#F8EABA; border-color:#C0C090; <!-- This style parameter is so the box shows up in the same colors as would normally appear on a talk page. It is only for this as an example. -->
}}
* '''<code>{{Tl|Archives}}</code>'''
: generates a floating box for archive links. It has a significant number of options. The <code>auto</code> option causes the box to automatically find your archive page list. If <code>auto=yes</code> or <code>auto=short</code> the links are shown as "<code>1, 2, 3</code>". If <code>auto=long</code> the links are shown as "<code>Archive 1, Archive 2, Archive 3</code>"). There are also options which show a search field, permit the box to collapse/expand, start the box collapsed/expanded, etc. Both the arguments and functionality are a superset of {{Tlb|Archive box}} (below) as {{Tl|Archive box}} calls {{Tl|Archives}}. The code used to generate the example to the right is:<br />
: <code><nowiki>{{Archives |auto=yes |search=yes |title=[[Help:Archiving a talk page|Archives]] ([[{{#titleparts:{{TALKPAGENAME}}|1}}/Archive index|index]]) |bot=ClueBot III |age=90 }}</nowiki></code>
:

{{Archive box |search= yes |title=[[Help:Archiving a talk page|Archives]] ([[{{#titleparts:{{TALKPAGENAME}}|1}}/Archive index|index]]) |bot= MiszaBot III |age= 90
| style=background-color:#F8EABA; border-color:#C0C090; <!-- This style parameter is so the box shows up in the same colors as would normally appear on a talk page. It is only for this as an example. -->
| [[/Old page|Old page]] <br /> [[/Archive 1|Archive 1]] <br /> [[/Archive 2|Archive 2]]}}
* '''<code>{{Tl|Archive box}}</code>'''
: generates a floating box for archive links. It calls {{Tlb|Archives}} (above) with some parameters non-existent or renamed. As with {{Tl|Archives}}, if you want to specify explicit archive links just place your link(s) as a parameter, for example <code><nowiki>{{Archive box|[[/Archive 1]]}}</nowiki></code> as the first unnamed parameter. Multiple archives can be named, linked and labeled in various ways. See the example archive box to the right. Provided the archives are in the precise format of "Archive ''numbered-sequence''", the list can be generated automatically using <code><nowiki>{{Archive box | auto=yes }}</nowiki></code> or <code><nowiki>{{Archive box | auto=long }}</nowiki></code> (for details see [[Template:Archive box#Automatic links|Automatic links]]). Both the arguments and functionality of this template are very similar to {{Tl|Archives}}. The [[Help:Editing#Wiki markup|wiki code]] used for the example box is (for details see the [[Template:Archive box|template page]]):<br />
: <code><nowiki>{{Archive box |search=yes |title=[[Help:Archiving a talk page|Archives]] ([[{{#titleparts:{{TALKPAGENAME}}|1}}/Archive index|index]]) |bot=MiszaBot III |age=90 |[[/Old page|Old page]] <br /> [[/Archive 1|Archive 1]] <br /> [[/Archive 2|Archive 2]]}}</nowiki></code>

{{Archive box |auto=yes |search= yes |title=[[Help:Archiving a talk page|Archives]] ([[{{#titleparts:{{TALKPAGENAME}}|1}}/Archive index|index]]) |bot= MiszaBot III |age= 90 |collapsible=yes|[[/Old page|Old page]]
| style=background-color:#F8EABA; border-color:#C0C090; <!-- This style parameter is so the box shows up in the same colors as would normally appear on a talk page. It is only for this as an example. -->
}}

: If you would rather have the archive pages found automatically the following code would be equivalent:
: <code><nowiki>{{Archive box |auto=yes |search= yes |title=[[Help:Archiving a talk page|Archives]] ([[{{#titleparts:{{TALKPAGENAME}}|1}}/Archive index|index]]) |bot=MiszaBot III |age=90 |collapsible=yes|[[/Old page|Old page]]}}</nowiki></code>
: In the above example you still need the unnamed parameter <code><nowiki>|[[/Old page|Old page]]</nowiki></code> because that page does not have a name in a format which is automatically found.
: There are a large number of options for both {{Tl|Archives}} and {{Tl|Archive box}}. The example to the right demonstrates the <code>collapsible=yes</code> option which provides the ability to be partially hidden. It is possible to start out in the hidden state with <code>collapsed=yes</code>. The automatically found numbered archive names can be shown as long names by using <code>auto=long</code>. If an archive box is displayed in a talk namespace it is usually displayed with the standard talk page color scheme. If it is displayed in a non-talk namespace it uses the standard color scheme for article space. The <code>style</code> option can be used to change the color scheme along with any other parameter specified in the string of CSS you assign.

{{Archive box collapsible|box-width=238px
| style=background-color:#F8EABA; border-color:#C0C090; <!-- This style parameter is so the box shows up in the same colors as would normally appear on a talk page. It is only for this as an example. -->
|
* [[/Archive. Old page|Old page]]
* [[/Archive 1|Archive 1]]
* [[/Archive 2|Archive 2]]}}
* '''<code>{{Tl|Archive box collapsible}}</code>'''
: is a visual modification of <nowiki>{{Archive box}}</nowiki>, which generates a collapsed box that can be opened with a click. It works with the same parameters as <nowiki>{{Archive&nbsp;box}}</nowiki>. See the example to the right. Detailed instructions are on the [[Template:Archive box collapsible|template page]]. This template is a bit redundant as the other templates support collapsible and collapsed forms through the use of <code>collapsible=yes</code> and <code>collapsed=yes</code>. The code for this example is:<!-- This is intended to be able to be copied while you are viewing the page, not while editing. -->
: <code><nowiki>{{Archive box collapsible|box-width=238px|</nowiki></code>
: <code><nowiki>*[[/Archive. Old page|Old page]]</nowiki></code>
: <code><nowiki>*[[/Archive 1|Archive 1]]</nowiki></code>
: <code><nowiki>*[[/Archive 2|Archive 2]]}}</nowiki></code>
{{Clear}}

==== Automatic archive boxes for numbered archives ====
All of {{Tl|Archives}}, {{Tl|Archive box}} and {{Tl|Archive box collapsible}} can automatically list links to archives. Automatic archive detection is usually enabled using the <code>auto</code> parameter which can be set to any of: <code>short</code>, <code>long</code>, <code>yes</code>, or <code>no</code>. Automatic archive page detection is usually limited to numbered archives in the format <code>/Archive 1</code>, <code>/Archive 2</code>, etc.). Instructions are on the respective template pages.

One example is {{Tlx|Archive box|auto{{=}}yes}}. It will automatically create an archive box of links to archive pages named <code>/Archive 1</code>, <code>/Archive 2</code>, etc. Archives with other names can be added within the first unnamed parameter.

Instead of an archive box, {{Tl|Archive banner}} displays a banner across the page. As with the archive box templates it can have links to the archives (automatic or manual), have an archive search box, be collapsible, etc.

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

{| border="0"
|-
| colspan="2" | The most common method is by using the {{Tl|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:
|-
| width="300" |<pre><nowiki>{{Archive box |search=yes |collapsible=yes |
bot=ClueBot III |age=90 |</nowiki>
<nowiki>title=[[Help:Archiving a talk page|Archives]]<!--</nowiki>
<nowiki>--> ([[{{#titleparts:{{TALKPAGENAME}}|1}}/Archive index|index]])| </nowiki>
<nowiki>{{Nowrap|'''2004''': {{Archives by months|2004}}}}</nowiki>
<nowiki>{{Nowrap|'''2005''': {{Archives by months|2005}}}}</nowiki>
<nowiki>{{Nowrap|'''2006''': {{Archives by months|2006}}}}</nowiki>
<nowiki>{{Nowrap|'''2007''': {{Archives by months|2007}}}}</nowiki>
<nowiki>{{Nowrap|'''2008''': {{Archives by months|2008}}}}</nowiki>
<nowiki>{{Nowrap|'''2009''': {{Archives by months|2009}}}}</nowiki>
<nowiki>{{Nowrap|'''2010''': {{Archives by months|2010}}}}</nowiki>
<nowiki>{{Nowrap|'''2011''': {{Archives by months|2011}}}}</nowiki>
<nowiki>{{Nowrap|'''2012''': {{Archives by months|2012}}}}</nowiki>
<nowiki>{{Nowrap|'''2013''': {{Archives by months|2013}}}}</nowiki>
<nowiki>{{Nowrap|'''2014''': {{Archives by months|2014}}}}</nowiki>
<nowiki>{{Nowrap|'''2015''': {{Archives by months|2015}}}}</nowiki>
<nowiki>{{Nowrap|'''2016''': {{Archives by months|2016}}}}</nowiki>
<nowiki>}}</nowiki> </pre>
| style="vertical-align:top;" | {{Archive box |search=yes |title=[[Help:Archiving a talk page|Archives]]<!--
--> ([[{{#titleparts:{{TALKPAGENAME}}|1}}/Archive index|index]]) |collapsible=yes |bot=ClueBot III |age=90
| style=background-color:#F8EABA; border-color:#C0C090; <!-- This style parameter is so the box shows up in the same colors as would normally appear on a talk page. It is only for this as an example. -->
|
{{Nowrap|'''2004''': {{Archives by months|2004}}}}
{{Nowrap|'''2005''': {{Archives by months|2005}}}}
{{Nowrap|'''2006''': {{Archives by months|2006}}}}
{{Nowrap|'''2007''': {{Archives by months|2007}}}}
{{Nowrap|'''2008''': {{Archives by months|2008}}}}
{{Nowrap|'''2009''': {{Archives by months|2009}}}}
{{Nowrap|'''2010''': {{Archives by months|2010}}}}
{{Nowrap|'''2011''': {{Archives by months|2011}}}}
{{Nowrap|'''2012''': {{Archives by months|2012}}}}
{{Nowrap|'''2013''': {{Archives by months|2013}}}}
{{Nowrap|'''2014''': {{Archives by months|2014}}}}
{{Nowrap|'''2015''': {{Archives by months|2015}}}}
{{Nowrap|'''2016''': {{Archives by months|2016}}}}
}}
|}

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 {{Tl|Archives by months}} template is that archive page names are in the format {{Nowrap|<code>YourPage/Archives/2013/June</code>}}, {{Nowrap|<code>YourPage/Archives/2013/July</code>}}, etc. However, {{Tl|Archives by months}} allows you to specify various naming conventions for your archives. Archives can have an arbitrary prefix by using the <code>archprefix</code> parameter (e.g. <code>archprefix=Archive/</code> instead of Archive<ins>s</ins>/). Months can be in four formats: A) the default uses January, February, March, etc.; B) <code>abbrev3=yes</code> months are Jan, Feb, Mar, etc.; C) <code>numbers=yes</code> months are 1, 2, 3, ... 12; D) <code>numbers0=yes</code> 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 <code>archivebox</code> or the <code>index</code> parameters. See the [[User:ClueBot III#How to archive your page|ClueBot III page]] for more information.

=== Archive indexing ===
{{Notice|[[User:Legobot|Legobot]]'s archive indexing task is currently not functioning on a regular basis and has not been for quite some time. It is unclear when, or if, this bot will be functioning.}}
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 <code>Talk:YourPage/Archive index</code>. While it is possible to generate an index by hand, the <code>/Archive index</code> page is normally generated automatically. There are two bots which automatically create indexes: [[User:Legobot|Legobot]] and [[User:ClueBot III|ClueBot III]].

[[User:Legobot|Legobot]], formerly [[User:HBC Archive Indexerbot|HBC Archive Indexerbot]], can create an archive index page based on a set of archives. See '''[[User:HBC Archive Indexerbot#Instructions|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 <code>Talk:YourPage/Archive index</code> page and '''need to place''':<br /><code><nowiki><!-- Legobot can blank this --></nowiki></code><br /> 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:

{| class="wikitable"
|-
! colspan="2" | Example Legobot configurations
|-
! Numbered archives !! Archives/Year/Month
|- valign="top" <!-- This is intended to be able to be copied while you are viewing the page, not while editing. -->
| <pre><nowiki>{{User:HBC Archive Indexerbot/OptIn
|target=/Archive index
|mask=/Archive <#>
|leading_zeros=0
|indexhere=yes
}}</nowiki></pre><!-- This is intended to be able to be copied while you are viewing the page, not while editing. -->
|| <pre><nowiki>{{User:HBC Archive Indexerbot/OptIn
|target=/Archive index
|mask=/Archives/<year>/<month>
|indexhere=yes
}}</nowiki></pre>
|}

[[User:ClueBot III|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 [[WP:TRANS|transcluded]] onto your <code>Talk:YourPage/Archive index</code> page by putting the following text in that page:<br />
<code><nowiki>{{User:ClueBot III/Master Detailed Indices/{{NAMESPACE}}: {{BASEPAGENAME}}}}</nowiki></code><!-- This is intended to be able to be copied while you are viewing the page, not while editing. -->

=== Archive searching ===
If there are several archives, it is easy to [[wp:search|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: <code>{{Search link|security prefix:Talk:Linux/}}</code>. This will look in all the subpages of the Linux article in its ''Talk'' namespace.

The templates {{Tl|Archives}}, {{Tl|Archive box}}, and {{Tl|Talk header}} have a parameter <code>search=yes</code> which provides a helpful search box on the talk page to automate searching, as do independent search templates such as {{Tl|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 ==
It is difficult to say exactly when a discussion "ends" and when it is continuing. Given that archived discussions are immutable, archiving a discussion effectively ends that particular discussion. When reopening a discussion is desired, links to archived discussions can be provided in the new discussion thread.

== 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.

== Other procedures for archiving ==
[[Help:Archiving a talk page/Other procedures|Other procedures]] were once considered equal options with the procedure described above. Over time both methods fell out of use and are generally not used. If you have used the page move procedure those pages '''do not qualify''' for [[Wikipedia:CSD#U1|speedy deletion by user request]].

== See also ==
* [[Help:Using talk pages]]
* [[Wikipedia:Closing discussions]]
* [[Wikipedia:Refactoring talk pages]]
* [[User:5Q5#How to Archive a Talk Page (manually) by 5Q5|Step-by-Step Instructions - Archiving a Talk Page]], by [[User:5Q5]]
* [[Module:Archive list]] is the [[Wikipedia:Lua|Lua]] code that drives Archive templates
* Pages that need archiving
** [[Wikipedia:Database reports/Long pages|Database report of long pages]], contains a list of long talk pages.
** [[:Category:Archive requests|Category Archive requests]] is populated by the {{Tl|Archiveme}} template.

{{Warchivenav|state=uncollapse}}
{{Wikipedia technical help|collapsed}}
[[Category:Wikipedia discussion]]
[[Category:Wikipedia how-to]]
[[Category:Wikipedia archives]]
Anonymous user

Navigation menu