www.fgks.org   »   [go: up one dir, main page]

Help:Archiving a talk page: Difference between revisions

Content deleted Content added
m →‎Archive indexing: unbalanced nowiki not removed in the previous edit
replace hat with beginner version template
(20 intermediate revisions by 13 users not shown)
Line 1:
{{Short description|Advice on archiving completed discussions}}
{{About|archiving old discussions on a talk page|adding web archives to citations|Help:Archiving a source}}
{{Redirect2|Help:Archive|Help:Archiving|help on archiving web pages|Help:Archiving a source|the template used to mark discussions as closed|Template:Archive top|Wikipedia's historical archive|Wikipedia:Historical archive|selfref=yes}}
{{redirect|WP:AATP|the project page with the [[WP:ATP]] shortcut|Wikipedia:Attack page}}
{{for|plain and simple automated archiving of talk pages|Help:Archiving (plain and simple)}}
{{pp-vandalism|small=yes}}
{{Pp-move-indef}}
{{for|plainBeginner and simple automated archiving of talk pagesversion|Help: Archiving (plain and simple)}}
{{Wikipedia how to|H:ARC|WP:ARCHIVE|WP:AATP}}
{{nutshell|This page explains how and why to set up archiving and archive search boxes on Wikipedia, offering multiple options and assessments of those options.|}}
 
It is customary to periodically '''archive old discussions on a talk page''' when thatthe talk page becomes too large. BulkyArchiving is often done automatically by a [[HelpWikipedia:Using talk pagesBots|talk pagesbot]]. may beStep-by-step hardinstructions to navigate,set containup obsoleteautomated discussion,archiving orcan becomebe afound burdenat for'''[[Help:Archiving users(plain withand slow Internet connections or computerssimple)]]'''. NoticesThere are placedtwo atmain thebots beginningthat of thearchive talk page to inform all editors of an archive.pages:
 
* [[User:ClueBot III]] will create archives based on the parameters set using [[User:ClueBot III/ArchiveThis]].
Regular articles are not archived because previous versions may be seen in the [[Help:Page history|page history]]; the practice of archiving is unique 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.
* [[User:Lowercase sigmabot III/Archive HowTo|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 [[Help:Archiving a talk page/Manual archiving|by hand]] by cutting and pasting from a talk page to an archive subpage. [[Wikipedia:One click archiving|One click archiving]] streamlines this process by adding an archive button to all talk page sections.
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.
 
Only noticeboards and talk pages are archived because both can become very long. 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. Older discussions that are still relevant can be summarized and linked using the {{Tlx|FAQ}} template. Archiving one's own user talk page is preferred but optional; some users simply [[WP:BLANKING|blank the page]].
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.
 
== Technical overview ==
{{main|Help:Archiving a talk page/Naming}}
The preferred method for archiving a talk page is to copy the older sections to a series of [[Wikipedia:Subpages|subpages]], and remove the sections from the original page. This can be performed either [[#Manual archiving|by hand]] or [[#Automated archiving|automatically]] by a [[Wikipedia:Bots|bot]].
 
There are several standard ways to archive a talk page. Each consists of [[Cut and paste|cutting and pasting]] sections from a talk page to an "Archive" [[Wikipedia:Subpages|subpage]]. The sections can archived [[#Manual archiving|manually]] or [[#Automated archiving|automatically]]. Manual archiving is done by editing the page by hand or using a [[Wikipedia:One click archiving|one click archiving]] script that adds an archive button to talk page sections. Automatic archiving is done by a [[Wikipedia:Bots|bot]]. There are two widely archiving bots, [[User:ClueBot III]] and [[User:Lowercase sigmabot III]].
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.
 
The most common method of [[Help:Archiving a talk page/Naming|naming talk page archives]] is with sequentially numbered archives. For example:
 
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>".
 
Alternatively, archives are often named chronologically. Archive templates will not automatically detect subpages with unusual names.
 
== Are there any existing archived talk pages?==
Line 34 ⟶ 36:
:<code><nowiki>Special:PrefixIndex/</nowiki>''Talk:Pagename''</code>
For example
:<code>{{search link|[[Special:PrefixIndex/Help talk:Archiving a talk page}}]]</code> will display the talk page to this help page and all its archives.
 
== Manual archiving ==
===Cut and paste procedure===
{{main|Help:Archiving a talk page/Manual archiving}}
# Edit the talk page, copying material you wish to archive to your computer's [[Clipboard (computing)|clipboard]].
# Create a new archive page at <code>Talk:Example page/Archive N</code>, where N is the lowest number for which no archive exists. (You can create the page by searching for the desired title and clicking the red link in the search results, or by editing the URL bar to point to the desired location then clicking the "Create" button.)
#*Alternatively, you may occasionally wish to create a topical archive, in which case the archive should be named according to the topic. For example <code>Talk:Example page/Place of birth debate</code>.
# Paste the clipboard contents into this archive and add {{Tlx|Talk archive}} (or {{tlx|Automatic archive navigator}} to enable navigation between archives) to the top 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}} 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 if they are [[#Automated archiving|named in the standard way]].)
# If there is already an archive box on the relevant talk page, you may want to add to it the link to the new archive.
 
The most basic way to [[/Manual archiving|manually archive]] a page is to [[Cut and paste|cut the material]] from the talk page and [[Cut and paste|paste it]] into an archive. If no archive exists, you will need to create a new subpage. Create the archive subpage at <code>Talk:Example page/Archive N</code> where "N" is either "1", the next positive [[integer]], or an appropriate name for a topic-specific archive (for example <code>Talk:Example page/Place of birth debate</code>). When an archive subpage becomes too large, new archives can be created as needed.
For a more detailed set of instructions, see [[/Manual archiving]].
 
When manually creating an archive, add {{tlx|Automatic archive navigator}} to the top of each archive page. If an archive box doesn't already exist on the main talk page, add the line {{Tlx|Archives}} below the WikiProject tags. For the full list of archiving templates, see [[:Category:Archival templates]]. For step-by-step instructions, see [[/Manual archiving]].
 
=== {{anchor|Semi-automated cut and past procedure}}Semi-automated cut and paste procedure ===
[[Wikipedia:One click archiving|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 [[Wikipedia:User scripts|user script]]. After installing one of the scripts listed below or at [[Wikipedia:One click archiving]], you will see links next to talk page headers allowing you to archive a section immediately:
[[User:Evad37/OneClickArchiver|OneClickArchiver]] and [[User:Σ/Testing facility/Archiver|Archy McArchface]] are userscripts designed to simplify the above manual procedure. Instead of manually copying and pasting the text, these scripts allow you to simply check which sections you wish to archive and specify a page to archive the selected sections to. [[:User:Alexis Jazz/Factotum|Factotum]] is not a dedicated archiver script but can [[:User:Alexis Jazz/Factotum#Move a section to another page?|move a section to another specified page]], which can be a talk page archive.
 
* [[User:Elli/OneClickArchiver]] – archives one section at a time<!--Maintained as of 2024-->
=== Other manual procedures ===
* [[User:FlightTime/OneClickArchiver.js]] - archives one section at a time<!--Maintained as of 2024-->
[[Help:Archiving a talk page/Other procedures|Other manual procedures]] were once considered equal alternatives with the cut and paste 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]].
* [[User:andrybak/Archiver]] – archives multiple sections at once<!--Maintained as of 2024-->
 
=== {{anchor|Other manual procedures ===}}
[[Help:Archiving a talk page/Other procedures|Other manual procedures]]—like [[Wikipedia:Moving a page|moving]] talk pages to archive subpages—are discouraged. See the discussion at [[Wikipedia talk:How to archive a talk page/Archive 1#Archive standards]] for rationale.
{{anchor|Automated_archival}}
 
Line 72 ⟶ 73:
|-
! style=text-align:left; | Number of talk pages in use on
| [https://templatecount.toolforge.org/index.php?lang=en&namespace=2&name=MiszaBot%2Fconfig ~3437,000]
| [https://templatecount.toolforge.org/index.php?lang=en&namespace=2&name=ClueBot+III%2FArchiveThis ~910,900600]
|-
! style=text-align:left; | Index of archives?
Line 94 ⟶ 95:
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 [[#For talk pages|a template]] such as {{tlx|Archives}} to provide readers with links to search and navigate the archives. These templates may also be configured with the parameters <code>bot</code> and <code>age</code> to include a message notifying readers that automatic archiving is taking place. For example: {{tlc|Archives|age{{=}}90|bot{{=}}[[User:ClueBot III#How to archive your page|ClueBot III]]}}.
 
=== SequentiallyExample with sequentially numbered archives ===
 
{| class="wikitable"
Line 100 ⟶ 101:
! colspan="2" | Sequentially numbered archives
|-
! [[User:lowercaseLowercase sigmabot III/Archive HowTo|lowercaseLowercase 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. --><syntaxhighlight lang="wikitext">
Line 129 ⟶ 130:
{{anchor|FULLPAGENAME}}Warning: the magic word '''<nowiki>{{SUBST:FULLPAGENAME}}</nowiki>''' 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 (<code>"&'</code>) are replaced by HTML character codes that are not recognised by the bots (see [[:mediawikiwiki:Manual:PAGENAMEE encoding#PAGENAME]] for details about these and other characters). For example <code>'</code> is replaced with <code>&#39&#59;</code> (so if the bot is to work then <code>&#39&#59;</code> must be replaced with <code>'</code>). This can be circumvented by using <code><nowiki>{{SUBST:#titleparts:{{SUBST:FULLPAGENAME}}}}</nowiki></code> to automatically sort the encoding.
 
=== ArchivesExample with archives by year and month ===
{| class="wikitable"
|-
Line 328 ⟶ 329:
 
[[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 ==
Line 349 ⟶ 350:
* [[Wikipedia:Closing discussions]]
* [[Wikipedia:Refactoring talk pages]]
* [[Module:Archive list]] is the, [[Wikipedia:Lua|Lua]] code that drives Archive templates
* Pages that need archiving
** [[:Category:Archive requests|Category Archive requests]] is populated by the {{Tl|Archiveme}} template.