User:MilHistBot

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
MilHistBot
This user is a bot
(talk · contribs)
Wikipe tan casual.png
AuthorHawkeye7 (talk · contribs)
Approved?Yes
Flagged?Yes
Task(s)Pass or fail Military History articles following an A class review; or keep of demote them after a reassessment
Edit rateHourly
Edit period(s)Periodically
Automatic or manual?Automatic
Programming language(s)Perl
Exclusion compliant?No
Source code published?published
Emergency shutoff-compliant?Yes

A-class review[edit]

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.

Automated procedure[edit]

A-Class review/reappraisal closure instructions for coordinators
edit A-Class review A-Class reappraisal
Closure takes place after minimum of five and maximum of twenty-eight days Pass
• at least 3 comprehensive supports
and
• no outstanding criteria-based objections
Fail
• less than 3 comprehensive supports
or
• outstanding criteria-based objections
or
• no consensus
Keep
• clear consensus to keep
or
• no consensus
Demote
• clear consensus to demote
{{WPMILHIST}} on article talk page • Change A-Class=current to A-Class=pass • Change A-Class=current to A-Class=fail • Change A-Class=current to A-Class=kept • Change A-Class=current to A-Class=demoted
• Reassess article and record new class
The MilHistBot will take care of the details. For detailed advice and manual procedure instructions see the full Academy course.

Manual procedure[edit]

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[edit]

Approval[edit]

Announcements[edit]

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[edit]

Approval[edit]

Membership[edit]

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

Source code[edit]

Approval[edit]

Awards[edit]

Processes MilHist award nominations

  1. Posts the award template on the user's talk page (in this test case, the Bot's own page) [1] (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]
  2. Adds the award to the historical list (eg. Wikipedia:WikiProject Military history/Awards/ACM) [3]
  3. Adds the award to next month's Bugle (eg. Wikipedia:WikiProject Military history/News/March 2018/Project news) [4]

Source code[edit]

Approval[edit]