User:ChristieBot

As of 17 November 2022, this bot has taken over the GA-related functions of Legobot. These include:


 * Update WP:GAN with the current GA nominees, including showing the review status and reviewer information.
 * Update the related topic lists that show subsets of GA nominees.
 * Transclude a newly created GA review onto the article talk page, and change the status to "onreview".
 * Leave messages on user talk pages when a GA review passes, fails, is placed on hold, or is marked as needing a second opinion
 * Update User:GA bot/Stats with GA reviewing statistics.
 * Add the good article icon when an article passes.
 * Add the oldid to the GA template on the talk page after the article passes.

This bot updates the following once every twenty minutes:

Reproductions of existing Legobot GAN pages:
 * Good article nominations
 * Good article nominations/Topic lists/Agriculture, food and drink
 * Good article nominations/Topic lists/Art and architecture‎
 * Good article nominations/Topic lists/Engineering and technology
 * Good article nominations/Topic lists/Geography and places
 * Good article nominations/Topic lists/History‎
 * Good article nominations/Topic lists/Language and literature‎
 * Good article nominations/Topic lists/Mathematics and mathematicians
 * Good article nominations/Topic lists/Media and drama
 * Good article nominations/Topic lists/Music‎
 * Good article nominations/Topic lists/Natural sciences‎
 * Good article nominations/Topic lists/Philosophy and religion‎
 * Good article nominations/Topic lists/Social sciences and society
 * Good article nominations/Topic lists/Sports and recreation
 * Good article nominations/Topic lists/Video games
 * Good article nominations/Topic lists/Warfare‎
 * Good article nominations/Topic lists/Miscellaneous
 * User:GA bot/Stats

New formats (not currently maintained):
 * User:ChristieBot/SortableGANoms
 * User:ChristieBot/GANoms Single Table
 * User:ChristieBot/Topic lists/Art and architecture‎
 * User:ChristieBot/Topic lists/Engineering and technology
 * User:ChristieBot/Topic lists/Geography and places
 * User:ChristieBot/Topic lists/History‎
 * User:ChristieBot/Topic lists/Language and literature‎
 * User:ChristieBot/Topic lists/Mathematics and mathematicians
 * User:ChristieBot/Topic lists/Media and drama
 * User:ChristieBot/Topic lists/Music‎
 * User:ChristieBot/Topic lists/Natural sciences‎
 * User:ChristieBot/Topic lists/Philosophy and religion‎
 * User:ChristieBot/Topic lists/Social sciences and society
 * User:ChristieBot/Topic lists/Sports and recreation
 * User:ChristieBot/Topic lists/Video games
 * User:ChristieBot/Topic lists/Warfare‎
 * User:ChristieBot/Topic lists/Miscellaneous

It also writes to User talk:ChristieBot/GAN errors for error messages and alerts.

BRFAs: 1, 2.

Source code: User:ChristieBot/Source code

Differences from Legobot

 * GAN entry format differs slightly from the format used by Legobot
 * Determines reviewer by who created the review page. Legobot appears to parse the signature at the top, which leads to this happening.  I don't know if Legobot would have counted another review for the second reviewer in this case. ChristieBot does not.
 * The second opinion and hold timestamps are taken from the time of the bot run, not from the time the reviewer changed the status
 * ChristieBot maintains a list of GA subpages in order to accurately reflect reviewing statistics and provide reporting capabilities. This data is sometimes incomplete; a list of pages for which ChristieBot could not fully determine the relevant data is here.

Outstanding tasks

 * On fail, add the oldid to the FailedGA template or Article history template if the user has not done so.
 * Take over Legobot task 18 -- add oldid to GA templates that lack it
 * Add a rank number to stats page
 * Look into updating Good articles/By length.
 * Change the addition of the GA icon to not be a minor edit.
 * Add explanation in the tool page of what to do if your username has changed and you want to connect the two usernames' stats.
 * Add glossary on the tool output for "No template" etc.; should only show if the user has those strings in the comments

Known issues that need to be fixed

 * If an article on review is moved, the bot records a fail under the old name and "on review" under the new name. In this case it should not notify the nominator of the fail.
 * It can also double count the review: see https://en.wikipedia.org/w/index.php?title=User_talk:Mike_Christie&oldid=1194211894
 * Try removing recalculations from end of nom init to save time
 * Changes to shortdesc parameter in the GAN template don't trigger a refresh of the nomination's entry on GAN.
 * Invalid characters in original nominators (in historical_GA_reviews) of GARed articles cause a crash


 * See Mongolia at the 2018 Winter Olympics; review page deleted, old nominee template left in but a new one added; then old one deleted. Should detect more than one nominee template on the page.
 * If the article is reviewed and passed in a single turn, the bot complains about not being able to find the template. It shouldn't complain if the article has been made a GA.
 * The good article template should be below the hatnotes, if any are present, per MOS:ORDER.
 * See Talk:Coronary artery bypass surgery and https://en.wikipedia.org/w/index.php?title=User_talk:Cinadon36&action=history. It appears that if the status parameter is omitted, the bot repeatedly notifies the nominator when the review starts.  This can only happen if the nominator creates the nomination incorrectly.

What to do if your username changes
If you have active nominations or have reviewed GAs in the past, and then change your username, the bot will not automatically connect the two, and you will not receive a notification when the nominations are reviewed. To correct this:


 * Update each of your nominations to change the username to your new name. This will enable to bot to notify you when the status of the nomination changes.
 * Leave a message on User talk:Mike Christie asking for the old and new names to be connected. This is optional. If you don't connect the names, the GA count and review count associated with the old name will not be transferred to the new name.

How to change or add subtopics to the nominations page

 * Update the topics and subtopics classes in the GA library
 * Update GA/Subtopic to include both any new keywords and also the subtopic name itself, to point to the new subtopic name
 * Update Module:Good article topics/data to include the new keywords pointing at the topic name
 * Update documentation at GA topics