Jump to content

User talk:Legobot/2022

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia


Incorrect edit summary

With this edit the bot added the new day's section to MfD but said it was "Removing archived MfD debates". Looking at the page history, it seems that removing archived debates is something it does at 2 minutes past each hour but at 00:02 it does that and adds a new day page, but only mentions the former. This is not a big deal when there are discussions to archive, as that is the more significant part of the edit, but when there aren't it means the edit summary is incorrect. Thryduulf (talk) 00:22, 6 January 2022 (UTC)

Reviving SCOTUS redirect creations

I resurrected/rewrote the code for Wikipedia:Bots/Requests for approval/Legobot 17 and intend to turn it on in the next few days, there's a backlog of ~1k redirects to be created and then it'll just be weekly runs of one or two redirects each. Legoktm (talk) 06:41, 27 December 2021 (UTC)

It's running now and will be on a weekly schedule afterwards. Legoktm (talk) 10:27, 16 January 2022 (UTC)

MOS:ORDER compliance

I noticed that Legobot always places GA icon templates at the very top of an article. Per MOS:ORDER, short descriptions should always be the first element. Can Legobot be adjusted to recognize whether an article begins with a shortdesc and, if so, place the GA icon on the line after it?

And whle we're at it, could the GA template also be capitalized as "Good article" to maintain consistency with other bots (like FACBot)? Regards, IceWelder [] 07:43, 21 January 2022 (UTC)

(talk page watcher) @IceWelder: This is the way that Legobot has operated for more than eight years. What harm is it causing? How is {{good article}} different in any way from {{Good article}}, other than the case of the first letter? --Redrose64 🌹 (talk) 22:16, 21 January 2022 (UTC)
The existing placement does not cause "harm" in the usual sense, it is just frequently at odds with MOS:ORDER as stated above. While this violation of MOS:ORDER is usually ignored (as it has little impact), some editors (like myself) still go in and fix it manually. Correcting the behaviour would be a small change for a small benefit but no downside. The capitalization change mostly stems from personal preference and the wish for inter-bot consistency; it is completely cosmetic and not tied to any guideline. Regards, IceWelder [] 22:25, 21 January 2022 (UTC)
So basically, this is much less important than the many outstanding requests currently sitting in Legoktm's in-tray. --Redrose64 🌹 (talk) 23:04, 21 January 2022 (UTC)
Most likely, yes. Neither request is a pressing matter and neither needs immediate attention. If Legoktm finds the time, I would appreciate their opinion at some point. IceWelder [] 23:10, 21 January 2022 (UTC)
See User_talk:Legobot/2021#Order_issue. I think the order proposed in MOS complicated for bots (and humans really) to implement properly. I don't really understand what the value is of having a MOS guideline that doesn't reflect the status quo that's been used since at least 2010 (when GA bot started running I believe). Legoktm (talk) 07:47, 22 January 2022 (UTC)
I believe the shortdesc position change is relatively recent after receiving data for them from Wikidata was deprecated. AWB and FACBot have implemented this change well. Regards, IceWelder [] 18:05, 26 January 2022 (UTC)
Well, sort of recent, but the old way is not as long-standing as Legoktm seems to think, either. MOS:ORDER moved Short description to first position on 15 July 2019. The FL, FA, and GA templates were moved up (to after hatnotes, before protection) from the end matter section at the bottom on 1 May 2021. As such, it's a little weird that Legobot correctly places {{GA}} et al. in the pre-lead section, but ignores the (older) part of the guidance that says to place SD first of all. — JohnFromPinckney (talk / edits) 13:44, 22 February 2022 (UTC)

Bad url.

Hi. This change have the bad URL in the comment of the change. Right is Kreheľ, not Krehe?. ✍️ Dušan Kreheľ (talk) 19:44, 9 April 2022 (UTC)

@Dušan Kreheľ: This is a known problem with Legobot, it can't handle certain characters - in this case ľ - and so it uses a question mark instead. There is plenty on this matter in the archives of this page; those of User talk:Legoktm; and of User talk:Redrose64. My usual workaround is to create a redirect from the incorrect page title to the correct one (as I did here); but I didn't do so in this case because RfCs shouldn't be held in user talk space, so instead I terminated it. You are welcome to draft up your RfC in user: space or user talk: space, but before putting it "live" with an {{rfc}} tag, you must move it to a more appropriate location, such as Wikipedia:Village pump (proposals) or Wikipedia talk:Citing sources, and should also ensure that the suggestions at WP:RFCBEFORE have been exhausted. Then see WP:RFCST; and when adding the {{rfc}} tag, you also need to supply it with one or more suitable RfC categories, to avoid the big red error message that you had here. --Redrose64 🌹 (talk) 21:17, 9 April 2022 (UTC)

MFD archiving issue again

Hi. The MFD archiving issue from March 2021 reappeared, see the revision history of Wikipedia:Miscellany for deletion/Archived debates/January 2022. This time I believe it's because the bot is reading the discussion results as ": result" instead of just "result" and the colon throws it for a loop. —GMX(on the go!) 17:24, 26 January 2022 (UTC)

(copying my WP:BOTN comment) I disabled the automatic running of the MFD archiver script. I have some new code which should be ready to go, but I'll run it manually for a few days before automating it. There are no MFDs needing archiving right now so I'll give it a shot tomorrow and lift the partial blocks then. Legoktm (talk) 07:19, 4 February 2022 (UTC)
The bot now seems to be down entirely, having not archived MfD at all since February 15. * Pppery * it has begun... 01:32, 26 February 2022 (UTC)
Legoktm, I don't wish to make a fuss, but is there any timeline on when the bot will return to archiving MfD? ♠PMC(talk) 17:52, 16 March 2022 (UTC)
Sorry, I forgot to write about it on en.wp, I'm on wikibreak until the end of March. I won't have time until then. Legoktm (talk) 22:20, 16 March 2022 (UTC)
I took it upon myself to manually archive these MfDs in the absence of the bot, I hope I didn't screw anything up in the process. —⁠ScottyWong⁠— 17:17, 24 March 2022 (UTC)
This is still happening, and it's now April. * Pppery * it has begun... 18:05, 3 April 2022 (UTC)
Moving across the country took a bit longer than I expected... anyways, I should have it back up and running by tomorrow. Legoktm (talk) 21:18, 8 April 2022 (UTC)
Squashed a bunch of bugs and with a bit of help, my manual run looks good. I'll add it to the Toolforge crontab "tomorrow". Legoktm (talk) 04:42, 12 April 2022 (UTC)
Any update on this? There's still a large backlog of MfDs pending archival. * Pppery * it has begun... 04:36, 16 April 2022 (UTC)
@Legoktm: Any update on this? * Pppery * it has begun... 21:04, 12 May 2022 (UTC)

Sorry, really thought I had already taken care of the crontab.

tools.legobot@tools-sgebastion-10:~$ crontab -l | grep mfd
2 * * * * jsub -N mfd-rs -once -mem 600M -quiet /data/project/legobot/contrib/target/release/mfdarchiver

Really should be set now. Legoktm (talk) 04:38, 13 May 2022 (UTC)

More bot things

  1. I believe the intention of MfD archiver task was to move all MfDs are more than 7 days old to the "old business" section, regardless of whether they are closed. Legobot seems to be only moving closed requests and ignoring open ones, which is undesirable.
  2. While investigating the above I noticed that there are several unresolved pull requests at https://github.com/legoktm/harej-bots/pulls. It appears that only https://github.com/legoktm/harej-bots/pull/14 and possibly https://github.com/legoktm/harej-bots/pull/8 are still relevant; the rest are trivial, obsolete, or in need of attention from someone else.

@Legoktm: * Pppery * it has begun... 03:01, 27 August 2022 (UTC)

  1. Nice spot, I made a silly logic error when porting that to Rust. Fixed. Note that it's currently more than 8 days, not 7 (pretty sure that's what it's always been).
  2. Merged both of those, not sure how I missed the GitHub email notifications.
Appreciate the ping! Legoktm (talk) 03:58, 28 August 2022 (UTC)

Weird bug

@Legoktm, I noticed that Legobot left a GA review message for Crash Bandicoot: On the Run! on the talk page of Doug Coldwell, even though he never edited the talk page. Legobot did leave a message on the nominator's talk page, but what I find weird is the bot just left the message for Doug Coldwell after the GA nomination had been failed. I think this vandal edit has something to do with it, but I wanted to give you a heads up nonetheless. – Epicgenius (talk) 16:24, 13 September 2022 (UTC)

This is GIGO mostly. The vandalism lasted long enough that the bot picked it up. When it was reverted, the bot didn't see an approval, so it assumed it was failed and sent out the notices :/ Legoktm (talk) 23:24, 17 September 2022 (UTC)

Lowercase title on archive index

Is there any way to ensure the bot will retain a {{lowercase}} on Talk:iOS/Archive index? Animal lover |666| 06:52, 20 October 2022 (UTC)

You could use a custom "template" that includes it. Legoktm (talk) 01:00, 21 October 2022 (UTC)

Bug? Failed talk page message with GA approved

@Legoktm This GAN was passed, however, Legobot left a failed message on the user's talk page. Not sure if it makes any difference, but the GA was approved using the GANReviewTool. Regards, Goldsztajn (talk) 21:04, 4 November 2022 (UTC)

The bot isn't smart enough to recognize that |currentstatus=FFA/GA is a pass. The bot is being rewritten/replaced soon, I hope. If it keeps happening, I'll figure out how to fix it. Legoktm (talk) 01:39, 5 November 2022 (UTC)
Thanks @Legoktm. Pinging @Novem Linguae: for information, as I think it is their GANReivewTool that added that element. Regards, --Goldsztajn (talk) 04:21, 5 November 2022 (UTC)
Thanks for the ping. As far as I can tell, |currentstatus=FFA/GA is correct and GANReviewTool is behaving properly. Wouldn't it be best to fix this in Legobot? I have submitted a patch for Legobot if someone would like to review it (cc Legoktm). Hope this helps. –Novem Linguae (talk) 22:24, 5 November 2022 (UTC)

Possible bug with unicode usernames

While checking for userspace pages of non existent users, I stumbled upon User talk:H?, which was created by Legobot and posted four GA nomination notices last year. All 4 nomination were made by User:HĐ. It's possible the bot could not interpret their username properly. ಮಲ್ನಾಡಾಚ್ ಕೊಂಕ್ಣೊ (talk) 07:36, 10 December 2022 (UTC)

(talk page stalker) Legobot is no longer handling GA notices, that task is now being performed by another bot. * Pppery * it has begun... 16:05, 10 December 2022 (UTC)
(talk page watcher) @ಮಲ್ನಾಡಾಚ್ ಕೊಂಕ್ಣೊ: Yes, this is a known problem with Legobot, there are several similar threads in the archives of this page and also of User talk:Legoktm. It's not confined to GA notices, nor is it confined to user names - any page name can be affected. I have noticed it most often with RfCs, which is why I created redirects like Talk:Sh?nen manga. --Redrose64 🌹 (talk) 22:03, 10 December 2022 (UTC)
Thanks. I have redirected User talk:H? to User talk:HĐ after moving bot posted messages there. This will take the page off maintenance reports. I don't know whether Legobot follows redirects, but that won't matter here since it no longer performs this function and the user has retired. ಮಲ್ನಾಡಾಚ್ ಕೊಂಕ್ಣೊ (talk) 06:19, 11 December 2022 (UTC)

Error with atypical character

The bot created a red link in an RfC listing. I made these edits to try to make it blue: [1], [2], [3], [4]. It looks like the bot has trouble with the "ā" special character. --Tryptofish (talk) 18:44, 30 December 2022 (UTC)

(talk page watcher)@Tryptofish: See section above. BTW it's pointless trying to edit bot-built pages like Wikipedia:Requests for comment/Society, sports, and culture, hence the editnotice that was displayed to you whilst editing it. --Redrose64 🦌 (talk) 22:19, 30 December 2022 (UTC)
There's no need to condescend to me, because I also created the redirects that provide a temporary fix for the problem. If the section above is addressing the same issue, that's fine. I just thought it would be helpful to have it addressed. --Tryptofish (talk) 22:50, 30 December 2022 (UTC)
The issue is not being addressed, because Legoktm is not maintaining the bot (except for "unbreak now" situations), and wants to retire it as soon as somebody else provides a bot that performs the same tasks as those presently undertaken by Legobot. --Redrose64 🦌 (talk) 23:00, 30 December 2022 (UTC)