Revision 1771451 of "ഫലകം:ArticleHistory/വിവരണം" on mlwiki

{{Documentation subpage}}
<!-- 
    PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE
    YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT
-->
__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 [[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.

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

{{esoteric}}

==Syntax==

Note: DO NOT put HTML comments inside this template.

A simple use would typically include:
<pre>
{{ArticleHistory
| action1       = 
| action1date   = 
| action1link   = 
| action1result = 
| action1oldid  = 

| currentstatus = 
}}
</pre>

More complex uses might include other fields:
<pre>
{{ArticleHistory
| action1       = 
| action1date   = 
| action1link   = 
| action1result = 
| action1oldid  = 

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

| currentstatus = 
| itndate       = 
| dykdate       = 
| dyklink       =
| topic         = 
| small         = 
}}
</pre>
Most syntax errors place the talk page in [[:Category:ArticleHistory error]]. After adding ArticleHistory or adding/removing a milestone, please check the bottom of the talk page for this error category.

==How to use in practice==

{| class="wikitable"
|-
!Process !! actionX !! actionXdate !! actionXlink !! actionXresult !! actionXoldid !! Possible current statuses<ref>See bottom section of the table.</ref>
|-
! colspan=7 style="background-color:gold;" | [[Wikipedia:Featured content|Featured content]] process
|-
! Featured article candidate
| <code>FAC</code> || Date ended<ref>Use the date when {{tl|FAC}} was replaced with a different template</ref> || Link to FAC page || One of <code>promoted</code> or <code>failed</code> || [[#How to find and use oldid|oldid number]] of version. || FFAC/FA/FFA
|-
! Featured article review
| <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
| <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>
|-
! Featured list candidate
| <code>FLC</code> || Date ended<ref>Use the date when {{tl|FLC}} was replaced with a different template</ref> || Link to FLC page || One of <code>promoted</code> or <code>failed</code> || oldid number of version. || FFLC/FL/FFL
|-
! Featured list removal candidate
| <code>FLR</code> || Date ended<ref>Use the date when {{tl|FLRC}} was replaced with a different template</ref> || Link to FLR page || One of <code>kept</code> or <code>removed</code> || oldid number of version. || FL/FFL
|-
! Featured topic candidate
| <code>FTC</code> || Date ended<ref>Use the date when {{tl|FTC}} was replaced with a different template</ref> || Link to FTC page || One of <code>promoted</code> or <code>failed</code> || oldid number of version. || Any.  See <code>ftname</code> below if promoted
|-
! Featured topic removal candidate
| <code>FTR</code> || Date ended<ref>Use the date when {{tl|FTRCmain}} was replaced with a different template</ref> || Link to FTR page || One of <code>kept</code> or <code>removed</code> || oldid number of version. || Any.  Do not include <code>ftname</code>
|-
! Featured portal candidate
| <code>FPOC</code> || Date ended || Link to FPOC page || One of <code>promoted</code> or <code>failed</code> || oldid number of version. || FFPOC/FPO/FFPO
|-
! Featured portal review
| <code>FPOR</code> || Date ended || Link to FPOR page || One of <code>kept</code> or <code>removed</code> || oldid number of version. || FPO/FFPO
|-
! colspan=7 style="background-color:gold;" | [[Wikipedia:Good articles|Good article]] process
|-
! Good article nomination
| <code>GAN</code> || Date ended<ref>Use the date when {{tl|GA nominee}} was replaced with a different template</ref> || '''New''': 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
| <code>GAR</code> || Date ended<ref>Use the date when {{tl|DelistedGA}} was added</ref> || Link in talk page archive where reassessment ended, or to [[Wikipedia:Good article reassessment#GARchive|GAR archive]] entry || One of <code>kept</code>, <code>delisted</code>, or <code>listed</code> || oldid number of version. || GA/DGA or any FA code
|-
! colspan=7 style="background-color:gold;" | Peer reviews
|-
! [[Wikipedia:Peer review]]
| <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>
| 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]] 
| Project page || <code>approved</code> || '''oldid number is required'''.
|-
! A Wikiproject collaboration
| Project or "collaboration of the week" page || <code>collaborated</code> || oldid number of version.
|-
! [[Wikipedia:League of Copyeditors]]
| Link to LoCE subpage<ref name="if"/> || <code>copyedited</code> || oldid number of version.
|-
! 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> or <code>kept</code> or <code>demoted</code> || oldid number of version. || N/A
|-
! colspan=7 style="background-color:gold;" | [[Wikipedia:Articles for deletion|Articles for Deletion]]
|-
! Articles for deletion
| <code>AFD</code><br/>(or <code>CSD</code><br/>or <code>PROD</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
|-
! 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
|-
! colspan=7 style="background-color:gold;" | Miscellaneous
|-
! [[Wikipedia:Today's featured article|Main Page Date]]
|<code>maindate</code>
|colspan="5"| Date the article appeared (or will appear) on the Main Page
|-
! 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 ''(Use <code>itndate2</code> to display a second ITN date.)''
|-
|<code>itnlink</code>
|colspan="5"| The wikilink to the archive page with the fact (link without the http://en.wikipedia.org/wiki/). 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. 
|-
! rowspan="2" | [[Template:Did you know|Did you know]]
|<code>dykdate</code>
|colspan="5"| Date the article appeared in the Did you know? column on the Main Page
|-
|<code>dyklink</code>
|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. 
|-
! rowspan="2"| [[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
|-
|<code>otdlink</code>
|colspan="5"| The link to the page with the anniversary. To find the page, go to [[Special:RecentChangesLinked|What links here]], and 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.
|-
! [[WP:ACID|Article Collaboration and Improvement Drive]]
| <code>aciddate</code>
|colspan="5"| Week that the article was selected as the ACID article. (The process has been closed and is now inactive.)
|-
! [[Wikipedia:Good topics|Good]]/[[Wikipedia:Featured topics|Featured Topic]]
|<code>ftname</code>
|colspan="5"|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
|<code>ftmain</code>
|colspan="5"|=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
|<code>ft2name</code>
|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 Good/Featured Topic Main Article
|<code>ft2main</code>
|colspan="5"|=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
|<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#Categories|Good article topic]]
|<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>
*''arts'': art, architecture, music, dance
*''langlit'': linguistics, literature
*''philrelig'': philosophy, religion, mythology
*''everydaylife'': food and drink, recreation, sports, games
*''socsci'': education, law, media, psychology, politics
*''geography''
*''history'': history and war, archaeology
*''engtech'': engineering, transport, computing
*''maths''
*''natsci'': biology, medicine, chemistry, physics</small>
|-
! [[WP:TPT#Small_option|Small option]]
|<code>small</code>
|colspan="5"| =yes to produce a small version of the template positioned to the right of the page
|-
! colspan=7 style="background-color:green;color:white;" | Current Status
|-
! rowspan="13"|
|<code>FA</code>
|colspan="5"| Featured article
|-
|<code>FFA</code>
|colspan="5"| Former featured article
|-
|<code>FFA/GA</code>
|colspan="5"| Former featured article which is now a Good article
|-
|<code>FFAC</code>
|colspan="5"| Failed featured article candidate
|-
|<code>FL</code>
|colspan="5"| Featured list
|-
|<code>FFL</code>
|colspan="5"| Former featured list
|-
|<code>FFLC</code>
|colspan="5"| Failed featured list candidate
|-
|<code>GA</code>
|colspan="5"| Good article which is not a former featured article
|-
|<code>DGA</code>
|colspan="5"| Delisted good article which is not a former featured article
|-
|<code>FGAN</code>
|colspan="5"| Failed good article nominee which is not a former featured article
|-
|<code>FPO</code>
|colspan="5"| Featured portal
|-
|<code>FFPO</code>
|colspan="5"| Former featured portal
|-
|<code>FFPOC</code>
|colspan="5"| Former featured portal candidate
|}
{{reflist|2}}

'''FAC''' and '''FAR''' are not valid statuses, because it is necessary for maintenance that {{tl|FAC}} and {{tl|FAR}} be kept separate.

===Example===

Example for [[Talk:Fermi paradox]]:

<pre>
{{ArticleHistory
 | action1       = FAC
 | action1date   = 2 June 2004
 | action1link   = Wikipedia:Featured article candidates/Fermi paradox/archive1
 | action1result = Promoted
 |
 | action2       = FAR
 | action2date   = 4 Apr 2006
 | action2link   = Wikipedia:Featured article removal candidates/Fermi paradox
 | action2result = Removed
 |
 | action3       = PR
 | action3date   = 28 Apr 2006
 | action3link   = Wikipedia:Peer review/Fermi paradox
 | action3result = 
 |
 | action4       = FAC
 | action4date   = 6 June 2006
 | action4link   = Wikipedia:Featured article candidates/Fermi paradox
 | action4result = Promoted
 | action4oldid  = 61126325
 |
 | maindate      = 13 January 2005
 | currentstatus = FA
}}
</pre>

==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:

<blockquote> <tt><nowiki>http://en.wikipedia.org/w/index.php?title=Main_Page&oldid=89723590</nowiki></tt>
</blockquote>
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 [[User:Dr pda|Dr pda]].  To use it:

*Add <tt><nowiki>{{subst:js|User:Dr pda/articlehistory.js}}</nowiki></tt> 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 <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==
* [[Template:WikiProjectBanners]] and [[Template:WikiProjectBannerShell]] - For combining and collapsing multiple Wikiproject banners
* [[Template:Oldafdmulti]] - For listing multiple deletion debates

<includeonly>
{{pp-template|small=yes}}
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
{{DEFAULTSORT:Article History}}
[[Category:Non-subject-matter-related article-talk header templates]]

</includeonly>