Template:Article history/doc

This template combines all the featured content-related templates into one, to reduce clutter on talk pages, and make it less confusing when an article has had multiple FACs, FARs or been demoted and repromoted etc. Good Article status, Articles for Deletion, Peer reviews and WikiProject reviews can also be included.

This template cannot be used for placing Good article nominations on hold or for nominating articles for processes such as Featured article candidate, Good article candidate, Peer review or Featured article review, and should never be used for processes that are still in progress; items are only added to the template after they are closed.

The parameter currentstatus controls what text appears at the top of the box, a set of up to twenty parameters of the form |action1= |action1date=|action1link=|action1result=|action1oldid= produces a row in the history section at the bottom of the box. Action1 refers to the earliest event.

Syntax
Note: DO NOT put HTML comments inside this template.

A simple use would typically include:

More complex uses might include other fields:

Most syntax errors place the talk page in Category:ArticleHistory error. After adding Article history or adding/removing a milestone, please check the bottom of the talk page for this error category.

How to use in practice
FAC and FAR are not valid statuses, because it is necessary for maintenance that FAC and FAR be kept separate.

Example
Example for Talk:Fermi paradox:

How to find and use oldid
The "oldid" is a several-digit number which refers to the exact version of the page at the time of that particular action. This version can then be viewed when a user clicks on the date in the list of milestones. If the oldid is not provided, a bot can determine it from the action date.

There are multiple ways to obtain an oldid. For example, while looking at a page's history, it should be possible to hover the mouse over the date of a particular change, and then the URL will appear at the bottom of the window in the browser's status bar:

 http://www.techinfodepot.info/w/index.php?title=Main_Page&oldid=89723590  In the above example, the final number, 89723590 is what should be used in the oldid field.

This number can also be obtained by stepping through the diffs in an article's history, and looking for the oldid in the URL line.

When dealing with a large number of possible changes, researching each oldid can become tedious. In this case, it can be helpful to use a javascript tool made by Dr pda. To use it:


 * Add  User:Dr pda/articlehistory.js  to your monobook.js page.
 * Refresh your browser cache
 * In your browser toolbox along the lefthand side of the page, you should now see an additional link entitled "Article History"
 * Clicking on the link while you are at an article's talkpage, will search the talkpage history for notable events related to the article, and then display a list of these dates and the associated edit summaries
 * Next to each summary is the word (oldid) Clicking on it will provide the associated article oldid for that timestamp.
 * For further documentation, see: User:Dr pda/articlehistory.js.