User:ChristieBot
Appearance
This user account is a bot operated by Mike Christie (talk). It is used to make repetitive automated or semi-automated edits that would be extremely tedious to do manually, in accordance with the bot policy. The bot is approved and currently active – the relevant request for approval can be seen here. Administrators: if this bot is malfunctioning or causing harm, please block it. |
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:
- Wikipedia:Good article nominations
- Wikipedia:Good article nominations/Topic lists/Agriculture, food and drink
- Wikipedia:Good article nominations/Topic lists/Art and architecture
- Wikipedia:Good article nominations/Topic lists/Engineering and technology
- Wikipedia:Good article nominations/Topic lists/Geography and places
- Wikipedia:Good article nominations/Topic lists/History
- Wikipedia:Good article nominations/Topic lists/Language and literature
- Wikipedia:Good article nominations/Topic lists/Mathematics and mathematicians
- Wikipedia:Good article nominations/Topic lists/Media and drama
- Wikipedia:Good article nominations/Topic lists/Music
- Wikipedia:Good article nominations/Topic lists/Natural sciences
- Wikipedia:Good article nominations/Topic lists/Philosophy and religion
- Wikipedia:Good article nominations/Topic lists/Social sciences and society
- Wikipedia:Good article nominations/Topic lists/Sports and recreation
- Wikipedia:Good article nominations/Topic lists/Video games
- Wikipedia:Good article nominations/Topic lists/Warfare
- Wikipedia: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.
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.
- 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.
- 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}}