Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

User:MilHistBot

From Wikipedia, the free encyclopedia
MilHistBot
This user is a bot
(talk · contribs)
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]
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:{{subst:MILHIST Quarterly Reviewing Table}}. 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:
    1. 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 [[Wikipedia:WikiProject Military history/Assessment/201X]] (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.
    2. Tally Good Article Reviews. Methods are to go to Wikipedia: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.
    3. Tally Peer Reviews. Go to Wikipedia: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.
    4. Tally Featured Article Reviews. Go to Wikipedia:Featured_article_candidates/Featured_log and Wikipedia: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):
    1. 15+ points – the WikiChevrons
    2. 8–14 points – the Content Review Medal of Merit (Military history)
    3. 4–7 points – the Milhist reviewing award (2 stripes)
    4. 1-3 points – the Milhist reviewing award (1 stripe)

Source code

[edit]

Approval

[edit]

Reviews

[edit]

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

Source code

[edit]

Approval

[edit]

Assessment

[edit]

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

Source code

[edit]

Approval

[edit]