Wikipedia:How to archive a talk page

From Wikipedia, the free encyclopedia

This page is considered a guideline on Wikipedia. It is generally accepted among editors and is considered a standard that all users should follow. However, it is not set in stone and should be treated with common sense and the occasional exception. When editing this page, please ensure that your revision reflects consensus. When in doubt, discuss first on the talk page.
Shortcut:
WP:ARCHIVE

It is customary on Wikipedia to periodically archive old discussions on a talk page when it becomes too large. Bulky talk pages are difficult to navigate and usually contain obsolete discussion. Additionally, large talk pages are a burden for users with slow Internet connections, and some users may not be able to edit pages larger than 32 kB because of browser page size limits. If possible it is better to archive talk pages during a lull in the discussion, as it is best to avoid archiving in the midst of an active discussion so that the full context of the discussion is together.

There are two main methods for archiving a talk page, detailed below. Regardless of which method you choose, you should leave current, ongoing discussions on the existing talk page. It is also helpful to label your archives with dates and briefly summarize their main discussions. The most common, beneficial method is the cut and paste procedure.

Refactoring a talk page is an alternative to, or is complementary to, archiving it.

Contents

[edit] Subpage archive method

Using a subpage is the most popular method for archiving a talk page. There are two alternative procedures which can be used to create a subpage: Cut and paste or move.

The standard chronological subpage archive naming convention is Article/Archive #, where # is the number of the archive. Archive is capitalized, there is a space before the number, and there are no leading zeros. For example, the twentieth archive would be named Article/Archive 20.

[edit] Cut and paste procedure

  1. Click on edit this page for the talk page you wish to archive.
  2. In the edit box, highlight all the text you want to archive, right-click (Windows/Linux) or command-click (Mac); alternatively, left-click above the text you wish to move, and then scroll down and shift-click below it; and then select cut. The text will then be copied to your clipboard.
  3. While still in the edit window, make a link to the archive you plan on creating. Put a forward slash in front of the link to make it a subpage, e.g. /Archive 1 or /Place of birth debate. Don't forget to add the wikilink brackets to it: [[/Archive 1]] or [[/Place of birth debate]]
    • There are some templates that can be used to generate a standardized box of archives:
      • {{archive box}}, generates a floating box for the archive links. Just place your link as a parameter. For example;
        • Just paste this at the top of the page: {{Archive box|[[/Archive 1]]}}
      • {{subst:archivebox}}, similar to the above, but is a more static approach.
      • {{archives}}, uses an external list instead of defining the archives on the talk page.
  4. Save the page. You should now have a page of recent discussion with a red link to your archive at the top.
  5. Open the newly-created subpage by clicking the red link. Paste the old discussions from your clipboard into the edit box. Before saving, you will want to create a notice at the top explaining that the page is an archive of inactive discussion and should not be edited. The template {{talkarchive}} is available. Just paste the code for it at the top of the page. If other archives exist, you may also want to use {{archive-nav}} to link to them so curious readers can easily navigate between archives. Sample usage (for "Archive 2"): {{archive-nav|2}}.
  6. Save. You have now created an archive.

[edit] Advantages of cut and paste

  • Discussions can be archived by topic, rather than chronologically. This may be appropriate on talk pages where certain topics have a tendency to come up again and again, and it is convenient to have all past discussion on an issue in one location. Archiving by topic is usually less appropriate for personal user talk pages.
  • Unlike the permanent link archiving method, the archive can be edited for clarity. For instance, headers can be renamed to be more helpful, unsigned comments can be noted, irrelevant comments can be moved to a more appropriate place, chit chat can be removed, etc. (However, this kind of editing might be considered a mild form of refactoring.)
  • The links used throughout the discussions remain indexed within Wikipedia. This may also be a disadvantage, as 'what links here' is often clogged with archives and user talk pages.
  • Editors who have the article on their watch list will not have the archived talk page put on their watchlist, which happens when talk pages are archived by moving them.
  • Unlike the move procedure it does not reset the history of the page.

[edit] Disadvantages of cut and paste

  • Unlike the permanent link archiving method, new users may accidentally reply to inactive discussions, and the page is open to vandalism.
  • This method assumes good faith edits by the person creating the archive. When that trust breaks down, without the edit history on the archive page, it can be very complicated to prove that the archive is a genuine copy of the information being archived from the current talk page [1].
  • Unlike the move procedure archives are not automatically added to the watchlists of the editors already watching the main discussion page.

[edit] Automated archival

Werdnabot can currently perform this type of archival on any discussion page (one that has "talk" in the namespace). Any sections older than a certain age in days are cut-and-pasted to a specified subpage. A tutorial on setting this up on a discussion page can be found here. In general, do not use this bot for article discussion pages.

[edit] Move procedure

  1. Subpage archives can also be created by moving the talk page to a subpage.
  2. Once the move has been made, to reduce the likelihood of an accidental edit to the archive, it is advisable to add a line to the top and bottom of the archived page stating that it is an archive. The template {{talkarchive}} is available to save some typing and to give the message a consistent appearance.
  3. Alter the redirect link on the now empty talk page into an ordinary link so that the Archive can be found by clicking on the link.
  4. Copy discussions that are still active back to the original talk page.

The end result of the move is the same cut and paste procedure, except that the page history of the talk page is also moved to the subpage and user contributions display as being to the archive rather than the original page.

[edit] Archive table

Archive

Archives


1 2

Here is a table which can be placed near the top of the talk page to hold the links to the archive pages as shown to the right of this text. It has the advantage that it will appear to the right of the Table of Contents as the new talk page grows. You can cut and paste the lines below to create this effect.

{| class="infobox" width="150"
|- align="center"
| [[Image:Vista-file-manager.png|50px|Archive]]
'''[[Wikipedia:How to archive a talk page|Archives]]'''
----
|- align="center"
| [[/Archive 1|1]] [[/Archive 2|2]]
|}

Alternatively, you can use {{Archive box}}.

[edit] Controversy

There is some controversy over which of these procedures is preferable. On one hand, if a page is archived by moving, someone looking for a specific past version of the page must first locate the correct archive, and all links to diffs on that talk page are now broken. On the other hand, with cut-and-paste archiving, someone looking for the history of a specific archived section must dig through the entire (possibly very long) history of the original page. Whichever way you prefer, you should generally stick to one procedure or the other on any given page, since mixing the two only causes confusion.

[edit] Permanent link archives method

With this method, instead of copying discussions to a separate page, you simply provide a link to an earlier version of the page. Caveat: it is not possible to link to an earlier version of a page with a Wikipedia-style link. You have to supply the full URL. These pages do not show up in search engines, as they are dynamically generated.

[edit] Procedure

  1. Go to the talk page you wish to archive and click on permanent link in the toolbox section of the left sidebar. Alternatively, go to the page history of the talk page and select the revision you want to use.
  2. Copy the complete URL from the navigation bar of your web browser.
  3. Edit the talk page and delete the text you want to archive. While you're still in the edit window, make a link to the URL you copied at the top. Keep in mind that syntax for full URL links is different than for Wikilinks. Here is an example: [http://en.wikipedia.org/w/index.php?title=Wikipedia_talk:How_to_archive_a_Talk_page&oldid=1709131 Archive 1]: June 2004 – May 2005
  4. Save. You have now archived a talk page.
Purists will note that the URL can be radically trimmed:
[{{fullurl:{{FULLPAGENAME}}|oldid=1709131}} Archive 1]
Archive 1
(Advantages of fullurl method: will survive a page move, disadvantages- a little server load, and can't be cut and pasted.)

[edit] Advantages of this method

  • It is simpler and requires fewer resources.
  • There is some guarantee that the discussions have not been altered mistakenly or by vandals.
  • This strategy can be particularly useful for summarising discussions; you provide a succinct overview of the various points of view and a link to the complete, unadulterated discussion.
  • Unlike the move procedure it does not reset the history of the page.

[edit] Disadvantages

  • You cannot organize topics into one place, although you can list links to sections within the page history that are relevant to a particular topic.
  • Archives cannot be easily repartitioned and recombined as with the subpage method. If you later wished to divide up the archives in a different way, you would need to paste all past archives to the talk page, save, and then rearchive (note that when this is done, the revision history becomes muddied).
  • An edit of the archive by mistake (and ignoring the warning) would overwrite the current talk page.
  • It is the least common of the three methods, and may cause confusion even for experienced editors who are not familiar with "permanent link" function in the toolbox.
  • It does not show up in special:whatlinkshere/page_title of the linked pages.

[edit] Examples

Here are actual discussion pages on Wikipedia where you can study the code to see how archive pages were created.

Subpage method

Talk:Quantum mind has a Talk Page Archive notice that can be copied and pasted as is or adapted.

Talk:Parapsychology: The Archive notice on this page may be copied and adapted also.

[edit] See also