Difference between revisions of "Template:Article history/doc"

From blackwiki
Jump to navigation Jump to search
m (186 revisions imported)
 
(125 intermediate revisions by 65 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!--  
+
{{High-use|39,969}}
    PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE
+
{{Lua|Module:Article history|Module:Article history/config|Module:Article history/Category}}
    YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT
+
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
-->
 
__TOC__
 
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 '''should not (and 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;''' those items are added to the template after they are closed.
+
This template combines all the "content milestone"-related templates into one, to reduce clutter on talk pages, and make it less confusing when an article has had multiple [[wp:FAC|FAC]]s, [[wp:FAR|FAR]]s 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 '''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.
  
{{esoteric}}
+
The parameter {{para|currentstatus}} controls what text appears at the top of the box, a set of up to twenty parameters of the form <code><nowiki>|action1=|action1date=|action1link=|action1result=|action1oldid=</nowiki></code> produces a row in the history section at the bottom of the box. Action1 refers to the earliest event.
 +
__FORCETOC__
 +
== Syntax ==
 +
Note: DO NOT put HTML comments inside this template.
  
==Syntax==
+
A simple use would typically include:
 +
<pre>
 +
{{Article history
 +
| action1      =  
 +
| action1date  =  
 +
| action1link  =  
 +
| action1result =
 +
| action1oldid  =  
  
Note: DO NOT put html comments inside this template.
+
| currentstatus =
 +
}}
 +
</pre>
  
 +
More complex uses might include other fields:
 
<pre>
 
<pre>
{{ArticleHistory
+
{{Article history
 
| action1      =  
 
| action1      =  
 
| action1date  =  
 
| action1date  =  
Line 32: Line 42:
  
 
| currentstatus =  
 
| currentstatus =  
 +
| itndate      =
 
| dykdate      =  
 
| dykdate      =  
 +
| dykentry      =
 +
| dyknom        =
 
| topic        =  
 
| topic        =  
| maindate      =
 
 
| small        =  
 
| small        =  
 
}}
 
}}
 
</pre>
 
</pre>
Most syntax errors place the talk page in [[:Category:ArticleHistory error]]. After adding or modifying ArticleHistory, please check the base of the talk page for this error category.
 
  
==How to use in practice==
+
Most syntax errors place the talk page in [[:Category:Article history templates with errors]]. 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 ==
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 54: Line 66:
 
| <code>FAR</code> || Date ended<ref>Use the date when {{tl|FAR}} was replaced with a different template</ref> || Link to FAR page || One of <code>kept</code> or <code>removed</code> || oldid number of version. || FA/FFA
 
| <code>FAR</code> || Date ended<ref>Use the date when {{tl|FAR}} was replaced with a different template</ref> || Link to FAR page || One of <code>kept</code> or <code>removed</code> || oldid number of version. || FA/FFA
 
|-
 
|-
! Refreshing of brilliant prose
+
! Refreshing brilliant prose
 
| <code>RBP</code> || Date ended || Link to RBP page<ref>The relevant one of [[Wikipedia:Archive/Refreshing brilliant prose - People and culture]], [[Wikipedia:Archive/Refreshing brilliant prose - History and religion|History and religion]], [[Wikipedia:Archive/Refreshing brilliant prose - Science|Science]] or [[Wikipedia:Archive/Refreshing brilliant prose - Others|Others]]</ref> || One of <code>kept</code> or <code>removed</code> || oldid number of version. || FA/FFAC<ref>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.</ref>
 
| <code>RBP</code> || Date ended || Link to RBP page<ref>The relevant one of [[Wikipedia:Archive/Refreshing brilliant prose - People and culture]], [[Wikipedia:Archive/Refreshing brilliant prose - History and religion|History and religion]], [[Wikipedia:Archive/Refreshing brilliant prose - Science|Science]] or [[Wikipedia:Archive/Refreshing brilliant prose - Others|Others]]</ref> || One of <code>kept</code> or <code>removed</code> || oldid number of version. || FA/FFAC<ref>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.</ref>
 +
|-
 +
! Brilliant prose
 +
| <code>BP</code><ref>BP is only used for articles that were listed in the old [[Wikipedia:Brilliant Prose]] but not reviewed at [[Wikipedia:Historical archive/Refreshing brilliant prose|Refreshing brilliant prose]]. Only three articles satisfy this criteria as of June 2015: [[Execution by elephant]], [[Franks]] and [[Race (human categorization)]]. While these articles were all later delisted at [[WP:FAR|featured article review]], they never went through a peer review process to become featured articles, so (arguably) shouldn't be listed as former featured articles.</ref> || Date nominated || N/A || <code>nominated</code> || oldid number of version. || Any
 
|-
 
|-
 
! Featured list candidate
 
! Featured list candidate
Line 78: Line 93:
 
|-
 
|-
 
! Good article nomination
 
! Good article nomination
| <code>GAN</code> || Date ended<ref>Use the date when {{tl|GAN}} was replaced with a different template</ref> || Link in talk page archive was promoted/failed || One of <code>listed</code> or <code>failed</code> || oldid number of version. || FGAN/GA/DGA or any FA code
+
| <code>GAN</code> || Date ended<ref>Use the date when {{tl|GA nominee}} was replaced with a different template</ref> || Talk:''Name of article''/GA1 || One of <code>listed</code> or <code>failed</code> || oldid number of version. || FGAN/GA/DGA or any FA code
 
|-
 
|-
 
! Good article reassessment
 
! Good article reassessment
Line 86: Line 101:
 
|-
 
|-
 
! [[Wikipedia:Peer review]]
 
! [[Wikipedia:Peer review]]
| <code>PR</code> || Date ended<ref>Use the date when {{tl|peerreview}} was replaced with a different template</ref> || Link to PR page || leave blank or use <code>reviewed</code> or <code>Not reviewed</code> || oldid number of version. || N/A
+
| <code>PR</code> || Date ended<ref>Use the date when {{tl|Peer review}} was replaced with a different template</ref> || Link to PR page || leave blank or use <code>reviewed</code> or <code>Not reviewed</code> || oldid number of version. || N/A
 
|-
 
|-
 
! WikiProject Peer review<ref>Any topic-specific peer review</ref>
 
! WikiProject Peer review<ref>Any topic-specific peer review</ref>
| rowspan="3"| <code>WPR</code> || rowspan="3"| Date ended || Link to PR page<ref name="if">If available</ref> || leave blank or use <code>reviewed</code> || oldid number of version. || rowspan="3"| N/A
+
| rowspan="4"| <code>WPR</code> || rowspan="4"| Date ended || Link to PR page<ref name="if">If available</ref> || leave blank or use <code>reviewed</code> || oldid number of version. || rowspan="4"| N/A
 +
|-
 +
! ''(Any stable or [[Wikipedia:Approved article revisions|approved version]])'' <span style="font-size:110%;">Defunct process</span>
 +
| Project page || <code>approved</code> || '''oldid number is required'''.
 
|-
 
|-
! Any stable or [[Wikipedia:Approved article revisions|approved version]]
+
! A Wikiproject collaboration
| Project page || <code>approved</code> || oldid number is ''required''.
+
| Project or "collaboration of the week" page || <code>collaborated</code> || oldid number of version.
 
|-
 
|-
! [[Wikipedia:League of Copyeditors]]
+
! [[Wikipedia:WikiProject Guild of Copy Editors|WikiProject Guild of Copy Editors]]
| Link to LoCE subpage<ref name="if"/> || <code>copyedited</code> || oldid number of version.
+
| Link to GoCE subpage<ref name="if"/> || <code>copyedited</code> || oldid number of version.
 
|-
 
|-
 
! WikiProject A-class review<ref>Via Wikiprojects</ref>
 
! WikiProject A-class review<ref>Via Wikiprojects</ref>
| <code>WAR</code> || Date ended || Link to PR page<ref name="if"/> || One of <code>approved</code> or <code>failed</code> || oldid number of version. || N/A
+
| <code>WAR</code> || Date ended || Link to PR page<ref name="if"/> || One of <code>approved</code> or <code>failed</code> or <code>kept</code> or <code>demoted</code> || oldid number of version. || N/A
 +
|-
 +
! colspan=7 style="background-color:gold;" | Deletion processes
 +
|-
 +
! [[WP:AFD|Articles for deletion]]
 +
| <code>AFD</code> || Date ended<ref>Use the date when {{tl|AFD}} was removed from the article</ref> || Link to AFD page || One of <code>kept</code>, <code>deleted</code>, <code>merged</code>, <code>no consensus</code>, <code>speedily kept</code>, <code>speedily deleted</code>, <code>redirected</code>, or <code>renamed</code> || oldid number of version. || N/A
 +
|-
 +
! [[WP:MFD|Miscellany for deletion]]
 +
| <code>MFD</code> || Date ended || Link to MFD nomination page || One of <code>kept</code>, <code>deleted</code>, <code>merged</code>, <code>no consensus</code>, <code>speedily kept</code>, <code>speedily deleted</code>, <code>redirected</code>, or <code>renamed</code> || oldid number of version. || N/A
 +
|-
 +
! [[WP:TFD|Templates for discussion]]
 +
| <code>TFD</code> || Date ended || Link to TFD archive of that date || One of <code>kept</code>, <code>deleted</code>, <code>merged</code>, <code>no consensus</code>, <code>speedily kept</code>, <code>speedily deleted</code>, <code>redirected</code>, or <code>renamed</code> || oldid number of version. || N/A
 
|-
 
|-
! colspan=7 style="background-color:gold;" | [[Wikipedia:Articles for deletion|Articles for Deletion]]
+
! [[WP:CSD|Speedy deletion]]
 +
| <code>CSD</code> || Date ended || N/A || One of <code>kept</code>, <code>deleted</code>, <code>speedily kept</code>, <code>redirected</code>, <code>prod</code> (converted to [[WP:PROD|proposed deletion]]), <code>afd</code> (sent to [[WP:AFD|articles for deletion]]), or <code>renamed</code> || oldid number of version. || N/A
 
|-
 
|-
! Articles for deletion
+
! [[WP:PROD|Proposed deletion]]
| <code>AFD</code> || Date ended<ref>Use the date when {{tl|AFD}} was removed from the article</ref> || Link to AFD page (or other xFD page if not an article) || One of <code>kept</code>, <code>speedily kept</code>, <code>deleted</code>, <code>speedily deleted</code>, <code>merged</code>, <code>renamed</code>, <code>redirected</code> or <code>no consensus</code> || oldid number of version. || N/A
+
| <code>PROD</code> || Date ended || N/A || One of <code>kept</code>, <code>deleted</code>, <code>speedily kept</code>, <code>speedily deleted</code>, <code>redirected</code>, <code>afd</code> (sent to [[WP:AFD|articles for deletion]]), or <code>renamed</code> || oldid number of version. || N/A
 
|-
 
|-
! Deletion review
+
! [[WP:DRV|Deletion review]]
| <code>DRV</code> || Date ended || Link to DRV archive of that date|| One of <code>endorsed</code>, <code>relisted</code>, or <code>overturned</code> || oldid number of version. || N/A
+
| <code>DRV</code> || Date ended || Link to DRV archive of that date|| One of <code>endorsed</code>, <code>relisted</code>, <code>overturned</code>, or <code>no consensus</code> || oldid number of version. || N/A
 
|-
 
|-
 
! colspan=7 style="background-color:gold;" | Miscellaneous
 
! colspan=7 style="background-color:gold;" | Miscellaneous
Line 112: Line 142:
 
! [[Wikipedia:Today's featured article|Main Page Date]]
 
! [[Wikipedia:Today's featured article|Main Page Date]]
 
|<code>maindate</code>
 
|<code>maindate</code>
|colspan="5"| Date the article appeared (or will appear) on the Main Page
+
|colspan="5"| Date the article appeared (or will appear) on the Main Page. You can use the parameter <code>maindate2</code> for a subsequent date.
 
|-
 
|-
! rowspan="2" | [[Template:Dyk|Did you know]]
+
! rowspan="2" | [[Template:In the news|In the news]]
 +
|<code>itndate</code>
 +
|colspan="5"| Date the article appeared in the In the news column on the Main Page. The parameters <code>itn2date</code>, <code>itn3date</code>, etc. can be used for subsequent dates.
 +
|-
 +
|<code>itnlink</code>
 +
|colspan="5"| ITN entries from January 2005 or later are automatically linked to the relevant archive page. However, if you want to link an older ITN entry, or if you want to link an ITN entry to a custom page, you can use this parameter to do so. The parameters <code>itn2link</code>, <code>itn3link</code>, etc. can be used to link entries for subsequent dates.
 +
|-
 +
! rowspan="3" | [[Template:Did you know|Did you know]]
 
|<code>dykdate</code>
 
|<code>dykdate</code>
|colspan="5"| Date the article appeared in the Did you know? column on the Main Page
+
|colspan="5"| Date the article appeared in the Did you know? column on the Main Page. The parameters <code>dyk2date</code>, <code>dyk3date</code>, etc. can be used for subsequent dates.
 +
|-
 +
|<code>dykentry</code>
 +
|colspan="5"| The text of the entry of the DYK hook, including the three periods. <code>dyk2entry</code>, <code>dyk3entry</code>, etc. can be used for subsequent entries.
 +
|-
 +
|<code>dyknom</code>
 +
|colspan="5"| Link to DYK nomination page.
 +
|-
 +
|<code>dykignoreerror</code>
 +
|colspan="5"| Don't add DYKs with missing or invalid entries to [[:Category:Pages with a missing DYK entry]] or [[:Category:Pages with a malformed DYK entry]].
 +
|-
 +
! rowspan="3"| [[Wikipedia:Selected anniversaries|On this day]]
 +
|<code>otddate</code>
 +
|colspan="5"| Date the article appeared in the "On this day" column on the Main Page. The parameters <code>otd2date</code>, <code>otd3date</code>, etc. can be used for subsequent dates.
 +
|-
 +
|<code>otdoldid</code>
 +
|colspan="5"| The oldid of the anniversary page revision that links to the article. To find the anniversary page, go to [[Special:WhatLinksHere|What links here]] and enter the mainspace article. Find a link that contains "Wikipedia:Selected anniversaries"; it will be followed by the month name in which the anniversary takes place. Look in the history of that page to find the oldid. (For more details about using oldids, see [[#How to find and use oldid]] below, but note that Dr pdf's tool does not yet work for "On this day" oldid parameters.) <p>You can also use the parameters <code>otd2oldid</code>, <code>otd3oldid</code>, etc. for subsequent revisions.</p>
 +
|-
 +
|<code>otdlink</code>
 +
|colspan="5"| A custom link containing information about the anniversary. The <code>otdoldid</code> parameters should generally be preferred to this, but it can be used if you do wish to link to a specific oldid. <code>otd2link</code>, <code>otd3link</code>, etc. can be used for subsequent links.
 
|-
 
|-
|<code>dyklink</code>
+
! [[WP:FOUR|Four award]]
|colspan="5"| The link to the archive page with the fact. To find the fact, go to [[Special:RecentChangesLinked|What links here]], and the mainspace article. Find a link along the lines of "Wikipedia:Recent additions x" where x is an number.
+
| <code>four</code>
 +
|colspan="5"| =yes if the article has received a Four Award; otherwise, do not use
 
|-
 
|-
 
! [[WP:ACID|Article Collaboration and Improvement Drive]]
 
! [[WP:ACID|Article Collaboration and Improvement Drive]]
Line 125: Line 182:
 
|colspan="5"| Week that the article was selected as the ACID article. (The process has been closed and is now inactive.)
 
|colspan="5"| Week that the article was selected as the ACID article. (The process has been closed and is now inactive.)
 
|-
 
|-
! [[Wikipedia:Featured topics|Featured Topic]]
+
! [[Wikipedia:Good topics|Good]]/[[Wikipedia:Featured topics|Featured Topic]]
 
|<code>ftname</code>
 
|<code>ftname</code>
|colspan="5"|The name of the series in which the article is a featured topic; do not use for failed or demoted topics
+
|colspan="5"|The name of the series in which the article is a good/featured topic; do not use for failed or demoted topics
 
|-
 
|-
! Featured Topic Main Article
+
! Good/Featured Topic Main Article
 
|<code>ftmain</code>
 
|<code>ftmain</code>
|colspan="5"|=yes if the article is the main article in the featured topic; do not use for failed or demoted topics
+
|colspan="5"|=yes if the article is the main article in the good/featured topic; do not use for failed or demoted topics
 
|-
 
|-
! 2nd Featured Topic
+
! 2nd Good/Featured Topic
 
|<code>ft2name</code>
 
|<code>ft2name</code>
|colspan="5"|The name of the second series in which the article is a featured topic; do not use for failed or demoted topics
+
|colspan="5"|The name of the second series in which the article is a good/featured topic; do not use for failed or demoted topics
 
|-
 
|-
! 2nd Featured Topic Main Article
+
! 2nd Good/Featured Topic Main Article
 
|<code>ft2main</code>
 
|<code>ft2main</code>
|colspan="5"|=yes if the article is the main article in the second featured topic; do not use for failed or demoted topics
+
|colspan="5"|=yes if the article is the main article in the second good/featured topic; do not use for failed or demoted topics
 
|-
 
|-
! [[WP:GAPQ#Categories|Good article topic]]
+
! 3rd Good/Featured Topic
 +
|<code>ft3name</code>
 +
|colspan="5"|The name of the third series in which the article is a good/featured topic; do not use for failed or demoted topics
 +
|-
 +
! 3rd Good/Featured Topic Main Article
 +
|<code>ft3main</code>
 +
|colspan="5"|=yes if the article is the main article in the third good/featured topic; do not use for failed or demoted topics
 +
|-
 +
! [[WP:GAPQ#Good article topic values|Good article topic]]
 
|<code>topic</code>
 
|<code>topic</code>
|colspan="5"|The main ([[Wikipedia:Wikipedia 1.0|Wikipedia 1.0]]) topic of a [[WP:GA|good article]], which should be one of the following.  Each option will put the article in the topic at the head of the category.<small>
+
|colspan="5"|The main topic of a [[WP:GA|good article]]. Use one of the following:
*''arts'': art, architecture, music, dance
+
*<small>''agriculture'': agriculture, food, drink</small>
*''langlit'': linguistics, literature
+
*<small>''art'': art, architecture</small>
*''philrelig'': philosophy, religion, mythology
+
*<small>''engtech'': engineering, technology, computing, transport</small>
*''everydaylife'': food and drink, recreation, sports, games
+
*<small>''geography'': geography, places</small>
*''socsci'': education, law, media, psychology, politics
+
*<small>''history'': history, archaeology, royalty, nobility, heraldry</small>
*''geography''
+
*<small>''langlit'': languages, linguistics, literature</small>
*''history'': history and war, archaeology
+
*<small>''maths'': math</small>
*''engtech'': engineering, transport, computing
+
*<small>''drama'': drama, film, television, theater, dance</small>
*''maths''
+
*<small>''music'': music, albums, songs</small>
*''natsci'': biology, medicine, chemistry, physics</small>
+
*<small>''natsci'': natural sciences, biology, medicine, chemistry, physics</small>
 +
*<small>''philrelig'': philosophy, religion, mythology</small>
 +
*<small>''socsci'': social sciences, culture, education, law, psychology, politics, journalism</small>
 +
*<small>''sports'': sports, recreation, games</small>
 +
*<small>''video games'': video games, computer games</small>
 +
*<small>''warfare'': warfare, military</small>
 
|-
 
|-
! [[WP:TPT#Small_option|Small option]]
+
! [[WP:TPT#Small option|Small option]]
 
|<code>small</code>
 
|<code>small</code>
 
|colspan="5"| =yes to produce a small version of the template positioned to the right of the page
 
|colspan="5"| =yes to produce a small version of the template positioned to the right of the page
Line 161: Line 231:
 
! colspan=7 style="background-color:green;color:white;" | Current Status
 
! colspan=7 style="background-color:green;color:white;" | Current Status
 
|-
 
|-
! rowspan="13"|
+
! rowspan="14"|
 
|<code>FA</code>
 
|<code>FA</code>
 
|colspan="5"| Featured article
 
|colspan="5"| Featured article
Line 173: Line 243:
 
|<code>FFAC</code>
 
|<code>FFAC</code>
 
|colspan="5"| Failed featured article candidate
 
|colspan="5"| Failed featured article candidate
 +
|-
 +
|<code>FFAC/GA</code>
 +
|colspan="5"| Failed featured article candidate which is currently a good article
 
|-
 
|-
 
|<code>FL</code>
 
|<code>FL</code>
Line 205: Line 278:
 
'''FAC''' and '''FAR''' are not valid statuses, because it is necessary for maintenance that {{tl|FAC}} and {{tl|FAR}} be kept separate.
 
'''FAC''' and '''FAR''' are not valid statuses, because it is necessary for maintenance that {{tl|FAC}} and {{tl|FAR}} be kept separate.
  
===Example===
+
=== Example ===
 
 
 
Example for [[Talk:Fermi paradox]]:
 
Example for [[Talk:Fermi paradox]]:
  
 
<pre>
 
<pre>
{{ArticleHistory
+
{{Article history
| action1      = FAC
+
| action1      = FAC
| action1date  = 2 June 2004
+
| action1date  = 00:44, 12 June 2004
| action1link  = Wikipedia:Featured article candidates/Fermi paradox/archive1
+
| action1link  = Wikipedia:Featured article candidates/Fermi paradox/archive1
| action1result = Promoted
+
| action1result = Promoted
  |
+
| action1oldid = 4164969
| action2      = FAR
+
 
| action2date  = 4 Apr 2006
+
| action2      = FAR
| action2link  = Wikipedia:Featured article removal candidates/Fermi paradox
+
| action2date  = 02:55, 23 April 2006
| action2result = Removed
+
| action2link  = Wikipedia:Featured article removal candidates/Fermi paradox
  |
+
| action2result = Demoted
| action3      = PR
+
| action2oldid = 49669714
| action3date  = 28 Apr 2006
+
 
| action3link  = Wikipedia:Peer review/Fermi paradox
+
| action3      = PR
  | action3result =  
+
| action3date  = 09:31, 28 April 2006
|
+
| action3link  = Wikipedia:Peer review/Fermi paradox/archive1
| action4      = FAC
+
| action3oldid = 50428052
| action4date  = 6 June 2006
+
 
| action4link  = Wikipedia:Featured article candidates/Fermi paradox
+
| action4      = FAC
| action4result = Promoted
+
| action4date  = 22:10, 27 June 2006
| action4oldid  = 61126325
+
| action4link  = Wikipedia:Featured article candidates/Fermi paradox/archive2
|
+
| action4result = Promoted
  | maindate      = 13 January 2005
+
| action4oldid  = 60821005
| currentstatus = FA
+
 
 +
| action5      = FAR
 +
| action5date  = 14:17, 13 September 2010
 +
| action5link  = Wikipedia:Featured article review/Fermi paradox/archive1
 +
| action5result = removed
 +
| action5oldid = 384447156
 +
 
 +
| maindate      = 13 January 2005
 +
| currentstatus = FFA
 
}}
 
}}
 
</pre>
 
</pre>
  
==How to find and use oldid==
+
== 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.
 
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:
 
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:
  
<blockquote> <tt><nowiki>http://en.wikipedia.org/w/index.php?title=Main_Page&oldid=89723590</nowiki></tt>
+
<blockquote> <kbd><nowiki>http://en.wikipedia.org/w/index.php?title=Main_Page&oldid=89723590</nowiki></kbd>
 
</blockquote>
 
</blockquote>
 
In the above example, the final number, '''89723590''' is what should be used in the oldid field.
 
In the above example, the final number, '''89723590''' is what should be used in the oldid field.
Line 249: Line 328:
 
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.
 
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 [[User:Dr pda|Dr pda]]. To use it:
+
== Errors ==
 +
 
 +
This template can produce a number of errors. These are categorised into [[:Category:Article history templates with errors]]. Explanation of individual errors is given below.
 +
 
 +
<!-- NOTE: The level 3 headings in this section are used by [[Module:Article history/config]]! If you really must change them, you need to change the module as well. -->
 +
=== Invalid date ===
 +
* <span class="error">invalid date 'abc' detected in parameter 'action4date'</span>
 +
 
 +
This error occurs when a date is specified, but the date isn't recognized as being valid. If in doubt, use the format "d Month YYYY" (for example, "4 June 2010"). If the date looks correct to you, but you still get this error, you might have inserted an invisible [[control character]] at the beginning or end of the date. This can happen when you copy and paste a timestamp. Try pressing backspace after you've pasted; if you hit backspace but the cursor doesn't move, you just deleted a control character.
 +
 
 +
The date recognition in the template relies on the #time parser function, so for all the technical details of what is allowed see the [[mw:Help:Extension:ParserFunctions#.23time|#time documentation on mediawiki.org]].
 +
 
 +
=== No date parameter ===
 +
* <span class="error">an argument starting with 'abc2' was detected, but no 'abc2date' parameter was specified</span>
 +
* <span class="error">no date specified for action 3; please add a date to parameter 'action3date' or remove the other parameters beginning with 'action3'</span>
 +
 
 +
When certain parameter prefixes are followed by a number, e.g. "action4", "dyk2" or "otd3", a date parameter must also be specified, e.g. "action4date", "dyk2date" or "otd3date". This works for parameter names like "action4x", "dyk2abc" and "otd3blah" as well. If you get this error, then you must provide the correct date parameter, or remove all the other parameters with that prefix.
 +
 
 +
=== Featured article candidates ===
 +
* <span class="error">use the template {{tl|fac}} to nominate an article for Featured article status</span>
 +
 
 +
The status "FAC" is treated as invalid, as there is a specialized template, [[Template:Fac]], for nominating articles for Featured status. Using two templates would mean more maintenance work. While the featured article candidacy is underway, simply leave this template with the old status. Then a bot will update the {{tl|article history}} template when the featured article candidacy discussion is closed.
 +
 
 +
=== Featured article review ===
 +
* <span class="error">use the template {{tl|FAR}} to nominate an article for Featured article review</span>
 +
 
 +
The status "FAR" is treated as invalid for similar reasons as FAC above. Instead of using this template to record featured article reviews, you should use the specialized template, [[Template:FAR]], instead. While the review candidacy is underway, simply leave this template with the old status. Then a bot will update the {{tl|article history}} template when the review discussion is closed.
 +
 
 +
=== WikiProject assessments ===
 +
* <span class="error">do not use 'stub' as a 'currentstatus' parameter; these assessments are the responsibility of individual WikiProjects</span>
 +
 
 +
Article ratings such as "B", "C", "Start" and "Stub" are made by individual WikiProjects. Although these ratings are often the same between WikiProjects, they don't have to be: projects are entirely free to rate an article as "C" that others might rate as "Start", for example. For this reason, these kinds of ratings shouldn't be added to the article history template.
 +
 
 +
=== Invalid status ===
 +
* <span class="error">'abc' is not a valid status code</span>
 +
 
 +
This error occurs if you specify a current status with the {{para|currentstatus}} parameter, but the status code that you used was not recognized by the template. See above for a list of valid status codes.
 +
 
 +
=== Former featured articles ===
 +
* <span class="error">former featured articles should have a current status</span>
 +
* <span class="error">'abc' is not a valid current status for former featured articles</span>
 +
 
 +
Former featured articles always have a current status. Depending on the history of the article, that could be any of "FA", "FL", "FFA", "FFL", "FFA/GA", or "GA". ("GA" is automatically converted to "FFA/GA".) You need to use one of these values for the {{para|currentstatus}} parameter, otherwise one of the errors above will be triggered. Alternatively, if the article is not really a former featured article, you will need to fix the action parameter that says that the article was demoted at featured article review (FAR).
 +
 
 +
=== Featured topic names ===
 +
* <span class="error">parameter 'ft2main' is set, but no featured topic name is set in parameter 'ft2name'</span>
 +
* <span class="error">a parameter starting with 'ft' was detected, but no featured topic names were specified; please check the parameter names</span>
 +
 
 +
If you specify the parameter "ftmain", "ft2main", etc., or just anything starting with "ft" and a number, then the template assumes you want to add information about a featured topic. These errors occur if you specify one of these parameters, but don't specify the appropriate name parameter. For "ftmain", that would be "ftname", and for "ft2main", that would be "ft2name". Other parameters starting with "ft" are probably a mistake, so check your spelling. (Also, you should use "ftname", not "ft1name", but "ft2name", "ft3name" etc. are fine.)
 +
 
 +
=== Missing icon ===
 +
* <span class="error">notice bar icon config set to 'true' but no image could be found</span>
 +
 
 +
This is an error in the module configuration. Please notify the maintainer at [[Template talk:Article history]].
 +
 
 +
=== Action codes ===
 +
* <span class="error">no action code found in the 'action3' parameter; please add a code or remove other parameters starting with 'action3'</span>
 +
* <span class="error">invalid action code 'abc' passed to the 'action2' parameter</span>
 +
 
 +
Every action needs an action code for the template to know what the valid results are, what the default link label should be, and other things. For example, for a featured article candidacy the action code is "FAC", and for peer review the action code is "PR". These codes go in the parameters "action1", "action2", "action3", etc. If you include a parameter like "action3result" but don't include an "action3" parameter, or if you include an action code that isn't recognized, you get one of these errors. To fix them, check the spelling of your parameters, check that you have an action code for every action that you have included, and check the list of valid action codes above to see that you have the right one.
 +
 
 +
=== No actions ===
 +
* <span class="error">a current status was supplied without any actions</span>
 +
 
 +
Article history templates where a current status is supplied must also have actions supplied. This is because for an article to have a current status in the first place, some kind of action must have occurred for it to reach that status. For example, articles with a current status of FA (featured article) must have gone through the action FAC (featured article candidates). To fix this error, either add the appropriate actions, or if the article does not have a current status, remove the {{para|currentstatus}} parameter.
 +
 
 +
=== Action results ===
 +
* <span class="error">the 'FTC' action requires a result code; please add a result code to parameter 'action3result'</span>
 +
* <span class="error">invalid result 'abc' for action 'GAN' detected in parameter 'action4result'</span>
 +
 
 +
Most actions (but not all) require a result code. For example, the "FAC" action has two possible results, "promoted" and "failed". Please see the table of actions and results above for valid values. If you fail to specify a result parameter for an action that requires it, or if you specify an invalid result code, then you will get one of these errors. You may also get this error if you supplied an action parameter such as "action1", "action2" etc. by mistake: if this is the case, just remove the parameter.
 +
 
 +
=== Invalid oldid ===
 +
* <span class="error">invalid oldid 'abc' detected in parameter 'action2oldid'; if an oldid is specified it must be a positive integer</span>
 +
 
 +
It is optional, but recommended, to specify an oldid for all of the actions in the template. This is done by using the parameters "action1oldid", "action2oldid", etc. If any of these values is not a number, or if that number is zero or lower, or is not a whole number, then you will get this error. To fix it, either specify a valid oldid or remove the parameter.
 +
 
 +
== Tracking categories ==
  
*Add <tt><nowiki>{{subst:js|User:Dr pda/articlehistory.js}}</nowiki></tt> to your monobook.js page.
+
Deprecated parameters are tracked in [[:Category:Article history templates with deprecated parameters]].
*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 <tt>(oldid)</tt> Clicking on it will provide the associated article oldid for that timestamp.
 
* For further documentation, see: [[User:Dr pda/articlehistory.js]].
 
  
==See also==
+
== See also ==
* [[Template:WikiProjectBanners]] and [[Template:WikiProjectBannerShell]] - For combining and collapsing multiple Wikiproject banners
+
* [[Template:WikiProject banner shell]] - For combining and collapsing multiple WikiProject banners
* [[Template:Oldafdmulti]] - For listing multiple deletion debates
 
  
<includeonly>
+
{{Afd see also documentation|state=uncollapsed}}
{{pp-semi-protected|small=yes}}
 
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
 
{{DEFAULTSORT:Article History}}
 
[[Category:Article talk header templates]]
 
[[Category:Templates using ParserFunctions]]
 
  
<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. -->
+
<includeonly>{{sandbox other||
[[hu:Sablon:Cikktörténet]]
+
<!-- Categories below this line, please; interwikis at Wikidata -->
[[zh-yue:Template:ArticleHistory]]
+
[[Category:Non-subject-matter-related article-talk header templates]]
[[zh:Template:ArticleHistory]]
+
}}</includeonly>
</includeonly>
 

Latest revision as of 14:36, 28 October 2020

This template combines all the "content milestone"-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:

{{Article history
| action1       = 
| action1date   = 
| action1link   = 
| action1result = 
| action1oldid  = 

| currentstatus = 
}}

More complex uses might include other fields:

{{Article history
| action1       = 
| action1date   = 
| action1link   = 
| action1result = 
| action1oldid  = 

| action2       = 
| action2date   = 
| action2link   = 
| action2result = 
| action2oldid  = 

| currentstatus = 
| itndate       = 
| dykdate       = 
| dykentry      = 
| dyknom        = 
| topic         = 
| small         = 
}}

Most syntax errors place the talk page in Category:Article history templates with errors. 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

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 oldid number of version. FFAC/FA/FFA
Featured article review FAR Date ended[3] Link to FAR page One of kept or removed oldid number of version. FA/FFA
Refreshing brilliant prose RBP Date ended Link to RBP page[4] One of kept or removed oldid number of version. FA/FFAC[5]
Brilliant prose BP[6] Date nominated N/A nominated oldid number of version. Any
Featured list candidate FLC Date ended[7] Link to FLC page One of promoted or failed oldid number of version. FFLC/FL/FFL
Featured list removal candidate FLR Date ended[8] Link to FLR page One of kept or removed oldid number of version. FL/FFL
Featured topic candidate FTC Date ended[9] Link to FTC page One of promoted or failed oldid number of version. Any. See ftname below if promoted
Featured topic removal candidate FTR Date ended[10] Link to FTR page One of kept or removed oldid number of version. Any. Do not include ftname
Featured portal candidate FPOC Date ended Link to FPOC page One of promoted or failed oldid number of version. FFPOC/FPO/FFPO
Featured portal review FPOR Date ended Link to FPOR page One of kept or removed oldid number of version. FPO/FFPO
Good article process
Good article nomination GAN Date ended[11] Talk:Name of article/GA1 One of listed or failed oldid number of version. FGAN/GA/DGA or any FA code
Good article reassessment GAR Date ended[12] Link in talk page archive where reassessment ended, or to GAR archive entry One of kept, delisted, or listed oldid number of version. GA/DGA or any FA code
Peer reviews
Wikipedia:Peer review PR Date ended[13] Link to PR page leave blank or use reviewed or Not reviewed oldid number of version. N/A
WikiProject Peer review[14] WPR Date ended Link to PR page[15] leave blank or use reviewed oldid number of version. N/A
(Any stable or approved version) Defunct process Project page approved oldid number is required.
A Wikiproject collaboration Project or "collaboration of the week" page collaborated oldid number of version.
WikiProject Guild of Copy Editors Link to GoCE subpage[15] copyedited oldid number of version.
WikiProject A-class review[16] WAR Date ended Link to PR page[15] One of approved or failed or kept or demoted oldid number of version. N/A
Deletion processes
Articles for deletion AFD Date ended[17] Link to AFD page One of kept, deleted, merged, no consensus, speedily kept, speedily deleted, redirected, or renamed oldid number of version. N/A
Miscellany for deletion MFD Date ended Link to MFD nomination page One of kept, deleted, merged, no consensus, speedily kept, speedily deleted, redirected, or renamed oldid number of version. N/A
Templates for discussion TFD Date ended Link to TFD archive of that date One of kept, deleted, merged, no consensus, speedily kept, speedily deleted, redirected, or renamed oldid number of version. N/A
Speedy deletion CSD Date ended N/A One of kept, deleted, speedily kept, redirected, prod (converted to proposed deletion), afd (sent to articles for deletion), or renamed oldid number of version. N/A
Proposed deletion PROD Date ended N/A One of kept, deleted, speedily kept, speedily deleted, redirected, afd (sent to articles for deletion), or renamed oldid number of version. N/A
Deletion review DRV Date ended Link to DRV archive of that date One of endorsed, relisted, overturned, or no consensus oldid number of version. N/A
Miscellaneous
Main Page Date maindate Date the article appeared (or will appear) on the Main Page. You can use the parameter maindate2 for a subsequent date.
In the news itndate Date the article appeared in the In the news column on the Main Page. The parameters itn2date, itn3date, etc. can be used for subsequent dates.
itnlink ITN entries from January 2005 or later are automatically linked to the relevant archive page. However, if you want to link an older ITN entry, or if you want to link an ITN entry to a custom page, you can use this parameter to do so. The parameters itn2link, itn3link, etc. can be used to link entries for subsequent dates.
Did you know dykdate Date the article appeared in the Did you know? column on the Main Page. The parameters dyk2date, dyk3date, etc. can be used for subsequent dates.
dykentry The text of the entry of the DYK hook, including the three periods. dyk2entry, dyk3entry, etc. can be used for subsequent entries.
dyknom Link to DYK nomination page.
dykignoreerror Don't add DYKs with missing or invalid entries to Category:Pages with a missing DYK entry or Category:Pages with a malformed DYK entry.
On this day otddate Date the article appeared in the "On this day" column on the Main Page. The parameters otd2date, otd3date, etc. can be used for subsequent dates.
otdoldid The oldid of the anniversary page revision that links to the article. To find the anniversary page, go to What links here and enter the mainspace article. Find a link that contains "Wikipedia:Selected anniversaries"; it will be followed by the month name in which the anniversary takes place. Look in the history of that page to find the oldid. (For more details about using oldids, see #How to find and use oldid below, but note that Dr pdf's tool does not yet work for "On this day" oldid parameters.)

You can also use the parameters otd2oldid, otd3oldid, etc. for subsequent revisions.

otdlink A custom link containing information about the anniversary. The otdoldid parameters should generally be preferred to this, but it can be used if you do wish to link to a specific oldid. otd2link, otd3link, etc. can be used for subsequent links.
Four award four =yes if the article has received a Four Award; otherwise, do not use
Article Collaboration and Improvement Drive aciddate Week that the article was selected as the ACID article. (The process has been closed and is now inactive.)
Good/Featured Topic ftname The name of the series in which the article is a good/featured topic; do not use for failed or demoted topics
Good/Featured Topic Main Article ftmain =yes if the article is the main article in the good/featured topic; do not use for failed or demoted topics
2nd Good/Featured Topic ft2name The name of the second series in which the article is a good/featured topic; do not use for failed or demoted topics
2nd Good/Featured Topic Main Article ft2main =yes if the article is the main article in the second good/featured topic; do not use for failed or demoted topics
3rd Good/Featured Topic ft3name The name of the third series in which the article is a good/featured topic; do not use for failed or demoted topics
3rd Good/Featured Topic Main Article ft3main =yes if the article is the main article in the third good/featured topic; do not use for failed or demoted topics
Good article topic topic The main topic of a good article. Use one of the following:
  • agriculture: agriculture, food, drink
  • art: art, architecture
  • engtech: engineering, technology, computing, transport
  • geography: geography, places
  • history: history, archaeology, royalty, nobility, heraldry
  • langlit: languages, linguistics, literature
  • maths: math
  • drama: drama, film, television, theater, dance
  • music: music, albums, songs
  • natsci: natural sciences, biology, medicine, chemistry, physics
  • philrelig: philosophy, religion, mythology
  • socsci: social sciences, culture, education, law, psychology, politics, journalism
  • sports: sports, recreation, games
  • video games: video games, computer games
  • warfare: warfare, military
Small option small =yes to produce a small version of the template positioned to the right of the page
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
FFAC/GA Failed featured article candidate which is currently a good article
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 which is not a former featured article
FGAN Failed good article nominee which is not a former featured article
FPO Featured portal
FFPO Former featured portal
FFPOC Former featured portal candidate
  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. BP is only used for articles that were listed in the old Wikipedia:Brilliant Prose but not reviewed at Refreshing brilliant prose. Only three articles satisfy this criteria as of June 2015: Execution by elephant, Franks and Race (human categorization). While these articles were all later delisted at featured article review, they never went through a peer review process to become featured articles, so (arguably) shouldn't be listed as former featured articles.
  7. Use the date when {{FLC}} was replaced with a different template
  8. Use the date when {{FLRC}} was replaced with a different template
  9. Use the date when {{FTC}} was replaced with a different template
  10. Use the date when {{FTRCmain}} was replaced with a different template
  11. Use the date when {{GA nominee}} was replaced with a different template
  12. Use the date when {{DelistedGA}} was added
  13. Use the date when {{Peer review}} was replaced with a different template
  14. Any topic-specific peer review
  15. 15.0 15.1 15.2 If available
  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:

{{Article history
| action1       = FAC
| action1date   = 00:44, 12 June 2004
| action1link   = Wikipedia:Featured article candidates/Fermi paradox/archive1
| action1result = Promoted
| action1oldid  = 4164969

| action2       = FAR
| action2date   = 02:55, 23 April 2006
| action2link   = Wikipedia:Featured article removal candidates/Fermi paradox
| action2result = Demoted
| action2oldid  = 49669714

| action3       = PR
| action3date   = 09:31, 28 April 2006
| action3link   = Wikipedia:Peer review/Fermi paradox/archive1
| action3oldid  = 50428052

| action4       = FAC
| action4date   = 22:10, 27 June 2006
| action4link   = Wikipedia:Featured article candidates/Fermi paradox/archive2
| action4result = Promoted
| action4oldid  = 60821005

| action5       = FAR
| action5date   = 14:17, 13 September 2010
| action5link   = Wikipedia:Featured article review/Fermi paradox/archive1
| action5result = removed
| action5oldid  = 384447156

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

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://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.

Errors

This template can produce a number of errors. These are categorised into Category:Article history templates with errors. Explanation of individual errors is given below.

Invalid date

  • invalid date 'abc' detected in parameter 'action4date'

This error occurs when a date is specified, but the date isn't recognized as being valid. If in doubt, use the format "d Month YYYY" (for example, "4 June 2010"). If the date looks correct to you, but you still get this error, you might have inserted an invisible control character at the beginning or end of the date. This can happen when you copy and paste a timestamp. Try pressing backspace after you've pasted; if you hit backspace but the cursor doesn't move, you just deleted a control character.

The date recognition in the template relies on the #time parser function, so for all the technical details of what is allowed see the #time documentation on mediawiki.org.

No date parameter

  • an argument starting with 'abc2' was detected, but no 'abc2date' parameter was specified
  • no date specified for action 3; please add a date to parameter 'action3date' or remove the other parameters beginning with 'action3'

When certain parameter prefixes are followed by a number, e.g. "action4", "dyk2" or "otd3", a date parameter must also be specified, e.g. "action4date", "dyk2date" or "otd3date". This works for parameter names like "action4x", "dyk2abc" and "otd3blah" as well. If you get this error, then you must provide the correct date parameter, or remove all the other parameters with that prefix.

Featured article candidates

  • use the template {{fac}} to nominate an article for Featured article status

The status "FAC" is treated as invalid, as there is a specialized template, Template:Fac, for nominating articles for Featured status. Using two templates would mean more maintenance work. While the featured article candidacy is underway, simply leave this template with the old status. Then a bot will update the {{article history}} template when the featured article candidacy discussion is closed.

Featured article review

  • use the template {{FAR}} to nominate an article for Featured article review

The status "FAR" is treated as invalid for similar reasons as FAC above. Instead of using this template to record featured article reviews, you should use the specialized template, Template:FAR, instead. While the review candidacy is underway, simply leave this template with the old status. Then a bot will update the {{article history}} template when the review discussion is closed.

WikiProject assessments

  • do not use 'stub' as a 'currentstatus' parameter; these assessments are the responsibility of individual WikiProjects

Article ratings such as "B", "C", "Start" and "Stub" are made by individual WikiProjects. Although these ratings are often the same between WikiProjects, they don't have to be: projects are entirely free to rate an article as "C" that others might rate as "Start", for example. For this reason, these kinds of ratings shouldn't be added to the article history template.

Invalid status

  • 'abc' is not a valid status code

This error occurs if you specify a current status with the |currentstatus= parameter, but the status code that you used was not recognized by the template. See above for a list of valid status codes.

Former featured articles

  • former featured articles should have a current status
  • 'abc' is not a valid current status for former featured articles

Former featured articles always have a current status. Depending on the history of the article, that could be any of "FA", "FL", "FFA", "FFL", "FFA/GA", or "GA". ("GA" is automatically converted to "FFA/GA".) You need to use one of these values for the |currentstatus= parameter, otherwise one of the errors above will be triggered. Alternatively, if the article is not really a former featured article, you will need to fix the action parameter that says that the article was demoted at featured article review (FAR).

Featured topic names

  • parameter 'ft2main' is set, but no featured topic name is set in parameter 'ft2name'
  • a parameter starting with 'ft' was detected, but no featured topic names were specified; please check the parameter names

If you specify the parameter "ftmain", "ft2main", etc., or just anything starting with "ft" and a number, then the template assumes you want to add information about a featured topic. These errors occur if you specify one of these parameters, but don't specify the appropriate name parameter. For "ftmain", that would be "ftname", and for "ft2main", that would be "ft2name". Other parameters starting with "ft" are probably a mistake, so check your spelling. (Also, you should use "ftname", not "ft1name", but "ft2name", "ft3name" etc. are fine.)

Missing icon

  • notice bar icon config set to 'true' but no image could be found

This is an error in the module configuration. Please notify the maintainer at Template talk:Article history.

Action codes

  • no action code found in the 'action3' parameter; please add a code or remove other parameters starting with 'action3'
  • invalid action code 'abc' passed to the 'action2' parameter

Every action needs an action code for the template to know what the valid results are, what the default link label should be, and other things. For example, for a featured article candidacy the action code is "FAC", and for peer review the action code is "PR". These codes go in the parameters "action1", "action2", "action3", etc. If you include a parameter like "action3result" but don't include an "action3" parameter, or if you include an action code that isn't recognized, you get one of these errors. To fix them, check the spelling of your parameters, check that you have an action code for every action that you have included, and check the list of valid action codes above to see that you have the right one.

No actions

  • a current status was supplied without any actions

Article history templates where a current status is supplied must also have actions supplied. This is because for an article to have a current status in the first place, some kind of action must have occurred for it to reach that status. For example, articles with a current status of FA (featured article) must have gone through the action FAC (featured article candidates). To fix this error, either add the appropriate actions, or if the article does not have a current status, remove the |currentstatus= parameter.

Action results

  • the 'FTC' action requires a result code; please add a result code to parameter 'action3result'
  • invalid result 'abc' for action 'GAN' detected in parameter 'action4result'

Most actions (but not all) require a result code. For example, the "FAC" action has two possible results, "promoted" and "failed". Please see the table of actions and results above for valid values. If you fail to specify a result parameter for an action that requires it, or if you specify an invalid result code, then you will get one of these errors. You may also get this error if you supplied an action parameter such as "action1", "action2" etc. by mistake: if this is the case, just remove the parameter.

Invalid oldid

  • invalid oldid 'abc' detected in parameter 'action2oldid'; if an oldid is specified it must be a positive integer

It is optional, but recommended, to specify an oldid for all of the actions in the template. This is done by using the parameters "action1oldid", "action2oldid", etc. If any of these values is not a number, or if that number is zero or lower, or is not a whole number, then you will get this error. To fix it, either specify a valid oldid or remove the parameter.

Tracking categories

Deprecated parameters are tracked in Category:Article history templates with deprecated parameters.

See also