Jump to content

User:ChristieBot

From Wikipedia, the free encyclopedia
(Redirected from User:GA bot)

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:

New formats (not currently maintained):

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

BRFAs: 1, 2, 3.

Source code: User:ChristieBot/Source code

Differences from Legobot

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

[edit]
  • 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 Wikipedia: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
  • Update the database load for FAC stats to cope with the restart column and include floats for reviewer archive numbers
  • Prove the regeneration of the fac/facnom/review data from the pages
  • Automate the creation of the raw FACstats monthly pages
  • Create a trigger mechanism for loading data from the monthly pages

Known issues that need to be fixed

[edit]
  • 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.
  • 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.
  • Soldiers' and Sailors' Arch caused a problem because the reviewer did two unusual things, and I don't yet know which was the main cause. The reviewer added "onhold" to the status without creating a GA review subpage, and also added the text of their review to the "note" parameter in the GA template, including their signature which had pipe symbols. The pipes may have prevented the bot from parsing the template correctly. The result was that the bot repeatedly posted the notification of the review to the nominator's talk page. This will have to be run with a test GA to see what exactly is going on.
  • Duplicated note= parameters in the GAN template are not correctly parsed.

What to do if your username changes

[edit]

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

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