ସହଯୋଗ:ଆଲୋଚନା ପୃଷ୍ଠାର ଅଭିଲେଖ ତିଆରି
This page is a how-to guide detailing a practice or process on the English Wikipedia. |
It is customary to periodically archive old discussions on a talk page when that page becomes too large. Bulky 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 history tab; 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 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 talk page guidelines suggest archiving when the talk page exceeds 75 KB or has more than 10 main topics. 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 {{FAQ}}
template.
Subpage archive method
[ସମ୍ପାଦନା]The preferred method for archiving a talk page is to copy the older content to a series of subpages. This can be performed either by hand or 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 "/Archive #", where "#" 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 {{Archive list}} rely on this naming convention to automatically find the archive pages.
For example:
- The 20th archive of Talk:Earth would be named Talk:Earth/Archive 20
- The first archive of User talk:Example user would be named User talk:Example user/Archive 1
The second common method of naming archive pages is by year and month. With this method archive pages are typically named Talk:YourPage/Archives/2013/June, Talk:YourPage/Archives/2013/July, etc. Some things are more complex with this method of naming. When using this naming scheme the subpages should use /Archives/ not /Archive/ as some of the navigation templates rely on Archives being plural.
Remember to use the correct namespace – the part before the colon (:) – when archiving your own user talk page. It should start with "User talk:", not "Talk:".
Cut and paste procedure
[ସମ୍ପାଦନା]simplified procedure.
|
---|
Finished! |
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 (also Ctrl+X, ⌘ Cmd+X for Mac). The text will then be copied to your clipboard. Note that any 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, make a link to the archive name you plan on creating – 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 [[/Place of birth debate]].
- If you're just archiving old discussion, use the next available number; so if the last archive page was Archive 3, call it [[/Archive 4]].
- If there are no archives yet, call it [[/Archive 1]].
- Archive links can be conveniently placed in an archive template (How to do this is described in the archive box section below)
- Click Save page. (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
{{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 below.
- Save page. You have now created an archive.
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 archival
[ସମ୍ପାଦନା]All archiving tasks which used to be performed by the MiszaBots are now performed by lowercase sigmabot III without the need to change the {{User:MiszaBot/config}} configuration. |
ClueBot III and lowercase sigmabot III can automatically create 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. YourPage/Archive 1, YourPage/Archive 2, ...), or archive according to date (e.g. YourPage/Archives/2013/June, YourPage/Archives/2013/July, ...). See the MiszaBot / lowercase sigmabot III page and the ClueBot III page for detailed instructions on setting up these bots. 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). 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 0 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 archival of an article talk page or user talk page (you can add one of the following near the top of the page):
Sequentially numbered archives | |
---|---|
lowercase sigmabot III | ClueBot III |
{{User:MiszaBot/config |algo=old(90d) |archive={{subst:FULLPAGENAME}}/Archive %(counter)d |counter=1 |maxarchivesize=100K |archiveheader={{Automatic archive navigator}} |minthreadsleft=4 |minthreadstoarchive=1 }} |
{{User:ClueBot III/ArchiveThis |age=2160 |archiveprefix={{subst:FULLPAGENAME}}/Archive |numberstart=1 |maxarchsize=100000 |header={{Automatic archive navigator}} |minkeepthreads=4 |minarchthreads=1 |format= %%i }} |
Both of the above examples will create archive pages, as needed, starting with YourPage/Archive 1 and continuing with YourPage/Archive 2, etc., when the current archive page grows to more than 100,000 bytes. Only sections with dates that are older than 90 days (2,160 hours) will be archived. |
Archives by year/month | |
---|---|
lowercase sigmabot III | ClueBot III |
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. |
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 age. ClueBot III does not appear to run every single day. Thus, even once archiving has been running for a while, some threads may end up in an archive that is one month later than when they last were edited. |
{{User:MiszaBot/config |algo=old(90d) |archive={{subst:FULLPAGENAME}}/Archives/%(year)d/%(monthname)s |minthreadsleft=4 |minthreadstoarchive=1 }} |
{{User:ClueBot III/ArchiveThis |age=2160 |archiveprefix={{subst:FULLPAGENAME}}/Archives/ |minkeepthreads=4 |minarchthreads=1 |format= Y/F }} |
Both of the above examples will create archive pages, as needed, with names similar to YourPage/Archives/June, YourPage/Archives/July, etc. Only sections with dates that are older than 90 days (2,160 hours) will be archived. |
Note that 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.
Navigation templates
[ସମ୍ପାଦନା]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.
- {{archive navigation}} needs the archive number as a parameter – for example
{{archive navigation|3}}
on Archive 3. - {{archive nav}} similar to the above, but a dynamic list of links, – for example
{{archive nav|33}}
on Archive 33. - {{talk archive navigation}}, adds navigation features to the standard notice.
- {{talk header}} contains an automatically appearing archive list and archive search box, if numbered archives exist (e.g. /Archive 1, /Archive 2, ...)
Archive 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. 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 (index) |
---|
no archives yet (create)
|
Threads older than 90 days may be archived by ClueBot III. |
- {{archives}}
- generates a floating box for archive links. It has a significant number of options. The auto option causes the box to automatically find your archive page list. If
auto=yes
orauto=short
the links are shown as "1, 2, 3". Ifauto=long
the links are shown as "Archive 1, Archive 2, Archive 3"). 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 {{archive box}} (below) as {{archive box}} calls {{archives}}. The code used to generate the example to the right is: {{Archives |auto=yes |search=yes |title=[[Help:Archiving a talk page|Archives]] ([[{{#titleparts:{{TALKPAGENAME}}|1}}/Archive index|index]]) |bot=ClueBot III |age=90 }}
Archives (index) |
---|
Old page Archive 1 Archive 2 |
Threads older than 90 days may be archived by MiszaBot III. |
- {{archive box}}
- generates a floating box for archive links. It calls {{archives}} (above) with some parameters non-existent or renamed. As with {{archives}}, if you want to specify explicit archive links just place your link(s) as a parameter, for example
{{Archive box|[[/Archive 1]]}}
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{{archive box | auto=yes }}
or{{archive box | auto=long }}
(for details see Automatic links). Both the arguments and functionality of this template are very similar to {{archives}}. The wiki code used for the example box is (for details see the template page): {{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]]}}
Archives (index) |
---|
no archives yet (create) Old page
|
Threads older than 90 days may be archived by MiszaBot III. |
- If you would rather have the archive pages found automatically the following code would be equivalent:
{{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]]}}
- Note that in the above example you still need the unnamed parameter
|[[/Old page|Old page]]
because that page does not have a name in a format which is automatically found. - There are a large number of options for both {{archives}} and {{archive box}}. The example to the right demonstrates the
collapsible=yes
option which provides the ability to be partially hidden. It is possible to start out in the hidden state withcollapsed=yes
. The automatically found numbered archive names can be shown as long names by usingauto=long
. 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 style option can be used to change the color scheme along with any other parameter specified in the string of CSS you assign.
Archives |
---|
- is a visual modification of {{archive box}}, which generates a collapsed box that can be opened with a click. It works with the same parameters as {{archive box}}. See the example to the right. Detailed instructions are on the template page. This template is a bit redundant as the other templates support collapsible and collapsed forms through the use of
collapsible=yes
andcollapsed=yes
. The code for this example is: {{archive box collapsible|box-width=238px|
- *[[/Archive. Old page|Old page]]
- *[[/Archive 1|Archive 1]]
*[[/Archive 2|Archive 2]]}}
Automatic archive boxes for numbered archives
[ସମ୍ପାଦନା]All of {{archives}}, {{archive box}} and {{archive box collapsible}} can automatically list links to archives. Automatic archive detection is usually enabled using the auto parameter which can be set to any of: short, long, yes, or no. Automatic archive page detection is usually limited to numbered archives in the format /Archive 1, /Archive 2, etc.). Instructions are on the respective template pages.
One example is {{archive box|auto=yes}}
. It will automatically create an archive box of links to archive pages named /Archive 1, /Archive 2, etc. Archives with other names can be added within the first unnamed parameter.
Instead of an archive box, {{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.
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: | |||||
{{archive box |search=yes |collapsible=yes | bot=ClueBot III |age=90 | title=[[Help:Archiving a talk page|Archives]]<!-- --> ([[{{#titleparts:{{TALKPAGENAME}}|1}}/Archive index|index]])| {{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}}}} }} |
|
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 YourPage/Archives/2013/June, YourPage/Archives/2013/July, etc. However, {{Archives by months}} allows you to specify various naming conventions for your archives. Archives can have an arbitrary prefix by using the archprefix parameter (e.g. archprefix=Archive/
instead of Archive/). Months can be in four formats: A) the default uses January, February, March, etc.; B) abbrev3=yes
months are Jan, Feb, Mar, etc.; C) numbers=yes
months are 1, 2, 3, ... 12; D) numbers0=yes
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 archivebox or the index parameters. See the ClueBot III page for more information.
Archive indexing
[ସମ୍ପାଦନା]Legobot's archive indexing task is currently not functioning on a regular basis and has not been for quite some time. It has made one run in the last 11 months. The last run was on December 10, 2013. With the next most recent run late in March 2013. 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 Talk:YourPage/Archive index. While it is possible to generate an index by hand, the /Archive index page is normally generated automatically. There are two bots which automatically create indexes: Legobot and User: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 need to place:<!-- Legobot can blank this -->
onto your Talk:YourPage/Archive index page. The following is a Legobot configuration that works with numbered archives which you can place on the page you are archiving:
Example Legobot configurations | |
---|---|
Numbered archives | Archives/Year/Month |
{{User:HBC Archive Indexerbot/OptIn |target=/Archive index |mask=/Archive <#> |leading_zeros=0 |indexhere=yes }} |
{{User:HBC Archive Indexerbot/OptIn |target=/Archive index |mask=/Archives/<year>/<month> |indexhere=yes }} |
User: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 Talk:YourPage/Archive index page by putting the following text in that page:
{{User:ClueBot III/Master Detailed Indices/{{NAMESPACE}}:{{BASEPAGENAME}}}}
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: ଛାଞ୍ଚ:Search link
. 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 search=yes
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
[ସମ୍ପାଦନା]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. There is ongoing work on this issue.
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
[ସମ୍ପାଦନା]These procedures were once considered equal options with the procedure described above. Over time both methods fell out of use and are generally not used. Note that if you have used the page move procedure those pages do not qualify for speedy deletion by user request.
See also
[ସମ୍ପାଦନା]- Help:Using talk pages
- Wikipedia:Closing discussions
- Wikipedia:Refactoring talk pages
- Step-by-Step Instructions - Archiving a Talk Page, by User:5Q5
- Pages that need archiving
- Database report of long pages, contains a list of long talk pages.
- Category Archive requests is populated by the {{Archiveme}} template.