Template:ArticleHistory

From Wikipedia, the free encyclopedia

This template employs intricate features of template syntax.
Please do not alter it unless you are certain to understand its setup and parser functions and are ready to repair/revert all collateral damage if results are unexpected.
Any experiments should be conducted and all improvements tested in the template sandbox, or in your user space, before applying anything here.
The template documentation below is transcluded from Template:ArticleHistory/doc [edit]

Contents


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.

The parameter currentstatus controls what text appears at the top of the box, a set of 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.

This template should not (and cannot) be used for nominating articles for processes such as featured article candidate or featured article review.

Syntax


{{ArticleHistory
|action1=
|action1date=
|action1link=
|action1result=
|action1oldid=

|action2=
|action2date=
|action2link=
|action2result=
|action2oldid=
etc, up to action15

|currentstatus=

(remove any of the following which are not used)
|maindate=
|dykdate=
|ftname=
|ftmain=
|small=
}}

How to use in practice

Process actionX actionXdate actionXlink actionXresult actionXoldid Possible current statuses[1]
Featured content process
Featured article candidate FAC Date ended[2] Link to FAC page One of promoted or failed ID number of version. FFAC/FA/FFA
Featured article review FAR Date ended[3] Link to FAR page One of kept or demoted ID number of version. FA/FFA
Refreshing of brilliant prose RBP 19 January 2004 Link to RBP page[4] One of kept or demoted ID number of version. FA/FFAC[5]
Featured list candidate FLC Date ended[6] Link to FLC page One of promoted or failed ID number of version. FFLC/FL/FFL
Featured list removal candidate FLR Date ended[7] Link to FLR page One of kept or demoted ID number of version. FL/FFL
Featured topic candidate FTC Date ended[8] Link to FTC page One of promoted or failed ID number of version. Any. See ftname below if promoted
Featured topic removal candidate FTR Date ended[9] Link to FTR page One of kept or removed ID number of version. Any. Do not include ftname
Good article process
Good article nomination GAN Date ended[10] N/A One of listed or failed ID number of version. GA/DGA or any FA code
Good article review GAR Date ended[11] N/A One of kept or delisted ID number of version. GA/DGA or any FA code
Peer reviews
Wikipedia:Peer review PR Date ended[12] Link to PR page N/A, leave blank or use reviewed ID number of version. N/A
WikiProject Peer review[13] WPR Date ended Link to PR page[14] N/A[15] ID number of version. N/A
WikiProject A-class review[16] WAR Date ended Link to PR page[14] One of approved or failed ID number of version. N/A
Articles for Deletion
Articles for deletion AFD Date ended[17] Link to AFD page One of kept, deleted, merged, renamed, redirected or no consensus ID number of version. N/A
Miscellaneous
Main Page Date maindate Date the article appeared (or will appear) on the Main Page
Did you know dykdate Date the article appeared in the Did you know? column on the Main Page
Small option small =yes to produce a small version of the template positioned to the right of the page
Featured Topic ftname The name of the series in which the article is a featured topic; do not use for failed or demoted topics
Featured Topic Main Article ftmain =yes if the article is the main article in the featured topic; do not use for failed or demoted topics
Current Status
FA Featured article
FFA Former featured article
FFA/GA Former featured article which is now a Good article
FFAC Failed featured article candidate, or failed refreshing brilliant prose
FL Featured list
FFL Former featured list
FFLC Failed featured list candidate
GA Good article which is not a former featured article
DGA Delisted Good article
FGAN Failed good article nominee
  1. ^ See bottom section of the table.
  2. ^ Use the date when {{FAC}} was replaced with a different template
  3. ^ Use the date when {{FAR}} was replaced with a different template
  4. ^ The relevant one of Wikipedia:Archive/Refreshing brilliant prose - People and culture, History and religion, Science or Others
  5. ^ Consensus at WP:FFA is to treat the Refreshing brilliant prose event as a bulk featured article candidacy; therefore articles not kept here are not former featured articles.
  6. ^ Use the date when {{FLC}} was replaced with a different template
  7. ^ Use the date when {{FLRC}} was replaced with a different template
  8. ^ Use the date when {{FTC}} was replaced with a different template
  9. ^ Use the date when {{FTR}} was replaced with a different template
  10. ^ Use the date when {{GAnominee}} was replaced with a different template
  11. ^ Use the date when {{DelistedGA}} was added
  12. ^ Use the date when {{peerreview}} was replaced with a different template
  13. ^ Any topic-specific peer review
  14. ^ a b If available
  15. ^ May use approved to indicate a stable or approved version; a version number is required
  16. ^ Via Wikiprojects
  17. ^ Use the date when {{AFD}} was removed from the article

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:

{{ArticleHistory
|action1=FAC
|action1date=June 2 2004
|action1link=Wikipedia:Featured article candidates/Fermi paradox/archive1
|action1result=Promoted

|action2=FAR
|action2date=Apr 4 2006
|action2link=Wikipedia:Featured article removal candidates/Fermi paradox
|action2result=Demoted

|action3=PR
|action3date=28 Apr 2006
|action3link=Wikipedia:Peer review/Fermi paradox
|action3result=

|action4=FAC
|action4date=June 6 2006
|action4link=Wikipedia:Featured article candidates/Fermi paradox
|action4result=Promoted
|action4oldid=61126325

|maindate=January 13 2005
|currentstatus=FA
}}

Oldid:How to find and use

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.

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://en.wikipedia.org/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 {{subst:js|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.

See also