User:MilHistBot

A-class review
The Bot promotes or fails an A-Class review following the manual procedure. This procedure is straightforward, but has many steps, and has proved very error-prone for humans. The bot is triggered by a MilHist coordinator changing the A-class=current to A-class=pass or A-class=fail on the article's talk page. This is similar to the Bots that process GA and FA articles.

Manual procedure
The MilHistBot duplicates the manual procedure for closing A class reviews, which can be found here. If a manual procedure is desired, conflict with the MilHistBot can be avoided by removing the assessment from the nomination page (performing Step 4) first.

Source code

 * aclass.pl

Approval

 * Bots/Requests for approval/MilHistBot

Announcements
Bot sweeps through the current FACs, FARs, FLCs, GANs, GARs, DYKs and PRs selecting the MilHist ones, format them up and updates the Template:WPMILHIST Announcements page.

Source code

 * announcements.pl

Approval

 * Bots/Requests for approval/MilHistBot 1

Membership
The Bot checks the list of active members of WikiProject Military History (WikiProject Military history/Members/Active) and moves members who have been inactive for more than 365 days to the inactive members list (WikiProject Military history/Members/Inactive). (This is similar to the function performed by the Rick Bot for the list of administrators.)

Source code

 * membership.pl

Approval

 * Bots/Requests for approval/MilHistBot 2

Awards
Processes MilHist award nominations
 * 1) Posts the award template on the user's talk page (in this test case, the Bot's own page)  (the typo has been corrected)


 * 1) Changes the nomination page (ie Wikipedia talk:WikiProject Military history/Awards) to indicate that the award was awarded.
 * 2) Adds the award to the historical list (eg. WikiProject Military history/Awards/ACM)
 * 3) Adds the award to next month's Bugle (eg. WikiProject Military history/News/March 2018/Project news)
 * Quarterly Reviewing Awards
 * At the end of each quarter, all editors that complete at least one A-Class review receive a Milhist reviewing award. Create a new thread on the Coordinators' talk page and paste the following boilerplate into the body, leaving the subject line empty: . Save the thread, reopen it and change the months and year in the subject line and table, add a comment under the table, sign and save the thread again. Then tally the qualifying reviews:
 * Tally A-Class Reviews. As only those editors who complete at least one Milhist A-Class review receive an award, start by tallying them. Go to  (inserting the correct year) and click on the links to check all the A-Class articles that were promoted, failed, kept or demoted in the relevant quarter . Tally the number of articles reviewed by each editor. One suggested method is to use a simple pen-and-paper tally of usernames as you scroll through the relevant archive; another is to save the relevant reviews into a word processor and delete all content except the usernames of the reviewers, then tally from there. Regardless of which method is chosen, it can be time consuming so you may need to do it over several sessions. Once done, add each editor who completed an A-Class review to the User column of the Quarterly Reviewing Table, and add one point to the ACR column for each article that editor reviewed.
 * Tally Good Article Reviews. Methods are to go to Good articles/Warfare revision history for the quarter and tally the articles added by each editor listed in the Quarterly Reviewing Table or to use the Pages Created tool to isolate GA nomination pages created by a specific user. Add one point to the GA column for each MilHist article that those editors reviewed. Note that the accuracy of this method relies upon reviewers listing GAs per instructions.
 * Tally Peer Reviews. Go to Peer review/Archive and click on the links to open the archive pages for the relevant quarter. Check the talk page of each article to determine whether it falls under MilHist. For each article that does, check whether it was reviewed by an editor listed in the Quarterly Reviewing Table. If so, add one point to the PR column for each MilHist article that editor reviewed.
 * Tally Featured Article Reviews. Go to Featured_article_candidates/Featured_log and Featured_article_candidates/Archived_nominations, and click on the links to open the archive of review pages for the relevant quarter. Check the talk page of each article to determine whether it falls under MilHist. For each article that does, check whether it was reviewed by an editor listed in the Quarterly Reviewing Table. If so, add one point to the FAC column for each MilHist article that editor reviewed.
 * Tally the total number of points for each editor and add them to the Total column of the Quarterly Reviewing Table.
 * Award all reviewers in accordance with the following schedule (the award templates are all available under "Military history awards" below):
 * 15+ points – the WikiChevrons
 * 8–14 points – the Content Review Medal of Merit (Military history)
 * 4–7 points – the Milhist reviewing award (2 stripes)
 * 1-3 points – the Milhist reviewing award (1 stripe)

Source code

 * awards.pl

Approval

 * Bots/Requests for approval/MilHistBot 3

Reviews
Tallies the reviews performed by editors and posts a report to the MilHist coordinators' page, with recommendations for awards.

Source code

 * reviews.pl

Approval

 * Bots/Requests for approval/MilHistBot 4

Assessment
In November 2019, the Bot began automatically assessing articles with incomplete MILHIST assessments.

Source code

 * User:MilHistBot/AutoCheck.cs

Approval

 * Bots/Requests for approval/MilHistBot 5