Misplaced Pages

:Bots/Noticeboard: Difference between revisions - Misplaced Pages

Article snapshot taken from[REDACTED] with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< Misplaced Pages:Bots Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 22:26, 7 June 2022 view sourceScottywong (talk | contribs)Extended confirmed users26,031 editsm MalnadachBot and watchlists← Previous edit Latest revision as of 16:47, 22 January 2025 view source Lowercase sigmabot III (talk | contribs)Bots, Template editors2,311,274 editsm Archiving 1 discussion(s) to Misplaced Pages:Bots/Noticeboard/Archive 19) (bot 
Line 3: Line 3:
{{User:MiszaBot/config {{User:MiszaBot/config
| maxarchivesize = 250K | maxarchivesize = 250K
| counter = 17 | counter = 19
| minthreadsleft = 0 | minthreadsleft = 0
| minthreadstoarchive = 1 | minthreadstoarchive = 1
Line 11: Line 11:
}} }}


== Bot not running - creator inactive ==
== ] ==
{{Archive top|Bot has been desysoped, should the operator want to reactivate it, they are invited to start a thread here. — ] <sup>]</sup> 22:55, 11 May 2022 (UTC)}}
*{{botlinks|ProcseeBot}}
*{{admin|ProcseeBot}}
It was raised at ] (]) that ProcseeBot has not performed any logged actions (i.e. blocks) since November 2020 (). Given that the bot is not high-profile I'm not really surprised that its inactivity managed to pass under the radar of probably everyone except {{u|xaosflux}}, since they've been ] for a while. That being said, {{u|Slakr}} seems to have become somewhat inactive as of late, and {{u|pppery}} has suggested the bot be stripped of its rights. Since its activity is primarily a bot-related task and not an admin-related task, I'm bringing it here for review. I have left Slakr a talk page note about this discussion. ] (]) 07:29, 5 May 2022 (UTC)


Hi! I noticed that the {{u|Rick Bot}} is not running correctly and has not been active since November 30th. Its creator, {{u|Rick Block}} is also largely inactive and hasn't stopped by since November 4th (or responded to a message on his talk). He's had long periods of inactivity before, which ordinarily isn't a problem since the bot keeps on trucking. The bot normally runs daily and does some useful tasks, including updating the count of admins and CFD archives. Is there an established procedure to step in and fix a bot or duplicate its functions if an operator isn't available? Thanks! —] (]) 19:35, 31 December 2024 (UTC)
:I feel like for security reasons we can probably apply the usual activity requirements to just the bot (rather than including if the operator is active). If an adminbot hasn't logged an admin action for a year it probably shouldn't be flagged as such and a crat can always reflag if it ever needs to be active again. ] (]) 07:43, 5 May 2022 (UTC)
:Anyone is welcome to create a "backup" bot or similar if a bot operator is AFK and otherwise not responding. If the source code is freely available then this can be as simple as using the code and filing a new BRFA, or it could mean needing to re-write it all from scratch before filing a BRFA. Either way, unless the bot is directly handed off to someone (unlikely if the operator is away) then you'll need a BRFA to take over the task, even if only temporarily. ] (]) 13:38, 1 January 2025 (UTC)
:@] I did contact Slakr about this a few months ago (]); where they indicated it may be reactivated, thus why I have been skipping it during removals (as its admin access is an extension of its operators who is still an admin). So policy wise, think we are fine. Shifting off my 'crat hat and putting on my BAG hat - yes I think we should deflag inactive adminbots; their operators can always ask at BN to reinstate so long as the bot hasn't been deauthorized. — ] <sup>]</sup> 09:36, 5 May 2022 (UTC)
::The code is availabe at ]. It doesn't look too hard to set up.<span id="Qwerfjkl:1735822850886:WikipediaFTTCLNBots/Noticeboard" class="FTTCmt"> —&nbsp;]] 13:00, 2 January 2025 (UTC)</span>
::I did figure you contacted them, and from a BAG perspective "it might be reactivated soon" is always good enough to leave things be. Shifting to my own 'crat hat, though, a temporary desysop until it's back up and running is reasonable, especially since it's been 1.5 years. Courtesy ping to {{u|ST47}} who runs ]. ] (]) 09:47, 5 May 2022 (UTC)
:::Thanks to you both for the answers. Hopefully Rick will be back soon, but if he isn't, I think it makes sense for another bot operator to set up duplicative functions and get approval so these tasks can be handled. —] (]) 13:58, 2 January 2025 (UTC)
*I don't think we should make a redline rule on this, and that if these rare cases arise a BOTN discussion like this is the best way to deal with things. In this case, baring a response from the operator within a week, that this is going to be activated in the month, my position is that we should '''desysop''' the bot. — ] <sup>]</sup> 09:53, 5 May 2022 (UTC)
:I can help with the admin activity updates. I can write new code and file a BRFA if that works for you. I am temporarily taking on this task, so if anyone is interested in taking over, feel free to contact me for the source code. – ] <small>(])</small> 15:16, 2 January 2025 (UTC)
*:For the record I never intended this as any sort of rule-creating; we're discussing a singular bot. ] (]) 10:06, 5 May 2022 (UTC)
*I think removing advanced perms from inactive bots is a good idea, and allowing them to be returned on-request if the botop wants to reactivate the bot (as long as the approval is still valid). ] (]) 09:56, 5 May 2022 (UTC) ::That works for me (not that I have any actual authority in this matter lol!). Thanks for stepping up to take over those functions. If anyone else has the expertise or time to take over the bot's other tasks, that would be very helpful as well. ] (]) 16:45, 2 January 2025 (UTC)
:::Alright, I will file a BRFA shortly. – ] <small>(])</small> 16:50, 2 January 2025 (UTC)
* So, does anyone intend to implement the unanimous agreement here? ] ] 19:13, 11 May 2022 (UTC)
*:I'll ask over at BN. — ] <sup>]</sup> 19:18, 11 May 2022 (UTC) ::::{{BOTREQ|brfa|GalaxyBot 2}} ] <small>(])</small> 19:22, 2 January 2025 (UTC)
*:] request opened. — ] <sup>]</sup> 19:22, 11 May 2022 (UTC)
{{archive bottom}}


===PearBOT===
== Bot that fixes links to nonexistent category pages? ==
Hi, please forgive me if this isn't the proper way to do this here. I was going to create a new section, but noticed this one and I have the exact same question. I recently realized that {{u|PearBOT}} hasn't been running correctly since February 2024, and it's creator, {{u|Trialpears}}, doesn't seem to be active anymore. More specifically, I'm personally interested in the functions of ].


Just wondering: Is there a bot that currently performs edits related to nonexistent category pages, such as removing the links from articles or creating the category? (Preferably the former?) ] (]) 18:35, 6 May 2022 (UTC) So anyway, my question, as this is all beyond my skill set/knowledge base. Would this bot specially need a re-write, or just a new BRFA filing with the existing source code? ] (]) 19:58, 11 January 2025 (UTC)
Edit: Tagging {{Re|Pppery}} as I thought you might be interested in this topic as well. ] (]) 20:48, 11 January 2025 (UTC)


:I have restarted PearBOT and updated the code to work with the latest versions of Pywikibot and Python. Please take a look at the edits and let me know if you notice any issues. @] – ] <small>(])</small> 14:38, 12 January 2025 (UTC)
:@]: The maintenance list ] is typically very, very short these days; I think this is done by a few of our category specialists. I don't know whether they do this mostly by hand, but I wouldn't be surprised: you need to triage whether this is the result of a typo or vandal edit, a category deletion where articles or templates were not adjusted properly, or shows an actual need for the redlinked category. —] (]) 20:45, 11 May 2022 (UTC)
::Thank you so much! Seems like it is working well! Honestly a bit of a relief to not have this on the todo list. ] (]) 17:08, 12 January 2025 (UTC)
:::Thank you both for all the help! I'd be completely lost otherwise, 😅. I wasn't sure if this bot would ever work again, so really glad to see it working now, certainly makes things a bit easier/better. Furthermore, I quickly looked at the edits, I'm not noticing any obvious issues so far, seems to be working as expected, so much appreciated. @] @]
:::<br />
:::Also, @], I've dealt with depression myself, so I know the feeling, but it can get better. Oh, and no worries about any inconvenience on my part at least to be clear, we're all volunteers after all :). ] (]) 02:08, 13 January 2025 (UTC)


:If someone takes this over with their own bot, it will need a new BRFA, if only to ensure that everything is working as intended. ] (]) 20:01, 11 January 2025 (UTC)
== Controversy About Report Being Generated by Bot ==
::Thanks for the quick response. Yeah, I'm hoping someone with a better knowledge of this than myself could take this over. ] (]) 20:48, 11 January 2025 (UTC)
::Oh crap, when I was first looking at {{u|PearBOT}} I didn't notice that only some PearBOTs have their source code published it seems, my bad. ]s source seems to be missing. Or am I just a newb who's not finding it? ] (]) 05:31, 12 January 2025 (UTC)
:::It's available at ]. – ] <small>(])</small> 05:56, 12 January 2025 (UTC)
::::Depression is rough. I don't have the energy to do all that much these days and when I do Misplaced Pages is very low priority. I'm happy to add anyone to the tool forge project if anyone wants. I believe the only thing that is broken is that the scheduler system changed and I apparently failed to update it properly. Sorry for all the inconvenience I've caused. ] (]) 10:37, 12 January 2025 (UTC)
:::::@]: I can fix and maintain it if you can add me. – ] <small>(])</small> 10:41, 12 January 2025 (UTC)
::::::@] I believe I managed to add you as a maintainer. Feel free to do anything you want with the stuff there. I believe the infobox request task also is in the same boat but that might be moot after all the WikiProject banner redesigns. I really haven't kept up. ] (]) 11:05, 12 January 2025 (UTC)
:::::::@]: I think you added me to the wrong tool; it should be pearbot, not pearbot2. – ] <small>(])</small> 12:25, 12 January 2025 (UTC)
::::::::Right, should be fixed now. ] (]) 12:34, 12 January 2025 (UTC)


== Apology to the community (MolecularPilot) ==
There is a deletion discussion at ] which is really a bot issue. A bot is generating a report that appears to be a hierarchical list of deleted categories. Another editor has requested that the list be deleted, as an evasion of deletion policy.
*{{Userlinks|MolecularBot}}
*{{pagelinks|User:Qwerfjkl/preservedCategories}}
I am very sorry for answering requests on ] for small one-off tasks without seeking a BRFA. After reading somewhere that tasks with less than 700 edits could be just done if there is consensus, I was confused but now realise this is an AWB only rule. However, this is no excuse.
*{{userlinks|Qwerfjkl (bot)}}
*{{pagelinks|Misplaced Pages:Miscellany for deletion/User:Qwerfjkl/preservedCategories}}


After the requested minor planet task (500 edits approx, RM consensus) and requested school SVG logo categorisation (300 edits approx, general rules of subcats consensus), {{u|DreamRimmer}} clarified to me on Talk that tasks with Python or a bot script outside of bot userspace always require a BRFA, even if supervised and that I was getting confused with the AWB rule. I then promised to file BRFAs for all my scripts.
], who operates the bot and coded the task to generate the list, says that this has been coordinated with ]. ] says that the list should be deleted. I haven't studied the issue to have an opinion on whether the list should continue to be generated, or whether the bot task that generates the list should be turned off. However, I don't think that MFD is an appropriate forum to decide whether the bot should be generating the list. If the list is deleted, then the bot will generate a new version of the list, and Pppery says that they will tag the new version of the list as ]. Then maybe after that is done twice, the title may be salted, and the bot may crash trying to generate it. That doesn't seem like the way to solve a design issue. The question is whether there is a need for the bot to be producing the list. If so, leave it alone. If not, stop the bot. If this isn't the right forum either, please let us know where is the right forum, because it is my opinion that MFD is not the right forum. ] (]) 23:37, 17 May 2022 (UTC)
:Per ], {{tq|if you are concerned that a bot no longer has consensus for its task, you may formally appeal or ask for re-examination of a bot's approval.}} The policy links to this noticeboard for initiating an appeal discussion. I see BOTN as the appropriate venue for this. ] <sup>(he/him &#124; ])</sup> 23:44, 17 May 2022 (UTC)
::My first inclination was to agree, but tasks that run under the policy exemption, as this one does, seem to be outside BAG's purview. As a practical matter, I think it's better for the community to directly decide (in a non-BON area) whether the task enjoys consensus. Even in bot appeals it helps to have the result of a relevant consensus process on the task (usually RfC). Userspace tasks may not require pre-approval, but as with any editing behaviour I think consensus is still able to put a halt to it if people find it to be problematic. ] (]) 01:04, 18 May 2022 (UTC)
: The bot appears to be operating under ]. There's no approval to review. Whether a BAG member was involved in the discussion that led to the creation of the bot has no weight. I'm not sure whether MFD is the right forum (versus say reopening the VPR discussion that led to the task in the first place), but it's better than here. ]] 01:59, 18 May 2022 (UTC)
: MFD is a silly forum in which to discuss a bot task. A '''Delete''' would mean to throw away the output from the bot, rather than to stop the bot task as such. If the editors here think that ] is also the wrong forum, then maybe the bot should be allowed to continue to generate the list.
: I started out not having an opinion, and now have an opinion that the MFD is misguided.
: Thank you for your comments. ] (]) 02:31, 19 May 2022 (UTC)
:: If MFD decides that the content shouldn't exist, then ] would apply and admins would be justified in taking appropriate action to prevent the bot from recreating it. The oddness comes from whether MFD is the appropriate forum for overriding the original VPR discussion. ]] 11:48, 19 May 2022 (UTC)
:::@], I'm willing to shutdown the bot if consensus is against it.&nbsp;&#8213;&nbsp;<span id="Qwerfjkl:1652976319330:WikipediaBWLCLNBots/Noticeboard" class="BawlCmt">]] 16:05, 19 May 2022 (UTC)</span>
*On first pass, so long as this is low volume it doesn't seem to be in direct violation of the bot policy as it is in userspace. That doesn't mean that it is appropriate, or that it isn't disruptive. Would like to hear some feedback from the operator. — ] <sup>]</sup> 14:09, 19 May 2022 (UTC)
*:Operator . — ] <sup>]</sup> 14:10, 19 May 2022 (UTC)
*:I'm not sure what the best venue to deal with this is, but my initial feeling is that this is a bad idea, mostly because the bot keeps making pages that it seems noone is reading, then requesting that the same page be deleted - making needless work for admins who have to constantly clean up after it. — ] <sup>]</sup> 14:14, 19 May 2022 (UTC)
*:Can someone point to the VPR discussion that is being mentioned above? — ] <sup>]</sup> 14:16, 19 May 2022 (UTC)
*::OK, seems this is ] - which I don't really see as representative of any strong community consensus - seems like it just sort of died out. — ] <sup>]</sup> 14:20, 19 May 2022 (UTC)
*'''Comment''' - This seems to be getting more complicated. However, having a bot generate a report that needs to be deleted without being used sounds like a bad idea. ] (]) 19:47, 19 May 2022 (UTC)
* Thanks for the link to the Village Pump discussion, that makes it much clearer what this is about. "Listify and delete" outcomes in CfD discussions are rare to begin with. But, if that is the outcome, the category is kept until listification has really taken place. However, it may happen that the list is initially created but deleted later e.g. because sources were not provided. That very rare problem could be solved in a different way if (in case of a "listify and delete" outcome) closers of CfD discussions would list the category content on the talk page belonging to the discussion page. So we can stop the bot without any harm. ] (]) 21:12, 19 May 2022 (UTC)
* {{ping|Fayenatic london|Bibliomaniac15|Explicit}} pinging some administrators involved in CfD closing. ] (]) 21:15, 19 May 2022 (UTC)


When moving a botreq thread to awbreq, I saw Whatamidoing (not pinged as uninvolved in this) had made a request that I could fufil, as I know about psychology so could assemble the list of pages, 227 to be exact. I'm on mac so I can't use AWB, so I made a script to fufil this task and filed a BRFA as requested by DR for all my scripts. (Note that this one was automatic, unlike the other edits which were done with supervised scripts).
== MalnadachBot and watchlists ==


However, {{u|Primefac}} declined this as it was too small a task and is best done with AWB, not a script, and then promptly blocked the bot for the unapproved minor planet and school logo tasks, also disabling requested ] AfC and SPI reporting tasks.
Hey folks,
This has been brought up to the bot operator a number of times (e.g.), but responses have been largely unhelpful. As such, I'd like to ask that the MalnadachBot be halted or its impacts on watchlists be removed. I understand it is trying to clean up pages for all sorts of reasons (e.g. accessibility) but it is a huge mess. I've had days were my watchlist in the last 24 hours was 50% from this bot. And there are pages where this bot is the only editor and has somehow found a dozen or more times where it needed to edit the page. See for such a page.


So i am here to sincerely apoloigise for running scripts to try and help people (still, not an excuse) without a ], and for then opening a BRfA when AWB would have been needed. If wanted by the community for an unblock, I agree to a 3 month topic ban from helping people with nom-exempt tasks on botreq or awbreq. If I have lost the communities trust as a botop, I will also stop all tasks on toolforge and send the code to someone else.
We don't allow cosmetic edits for a reason. And I understand these aren't purely cosmetic, but the same issues apply. Do we really need signatures to be cleaned up in old RfAs? Its impact on watchlists is a molehill, but a really annoying one. I don't want to remove bot edits from my watchlist. And I do want to watchlist the pages I have listed. And yes, there are ways I could manage a script to remove ''this'' bot from my watchlist, but really that's not a good way forward--it only solves the problem for me, not everyone else. Perhaps we could have this particular bot not impact watchlists (basically a default script for everyone?). Or we could just halt it. Something, please. ] (]) 22:44, 5 June 2022 (UTC)
I am very sorry again. ] (]) 21:35, 1 January 2025 (UTC)


:Aso noting that I'm not blocked, but my bot {{u|MolecularBot}} is. I'm not logged out for block evasion, it's just that I cant log in right now but wanted to get an apology out for my poor behavouir to the community as soon as posible. Thank you to everyone who helped me on my Talk, and to the wider community for your understanding. ] (]) 21:38, 1 January 2025 (UTC)
:@] this bot appears to be asserting the bot flag, I suggest you enable "bots" under the "hide" options on watchlist, that way you won't be bothered with such things (this is what fixes it for "everyone else" - mostly already). — ] <sup>]</sup> 23:17, 5 June 2022 (UTC)
::Please use your account to communicate. Regarding the bot block, you can file a BRFA once you have a better task for your bot. If BAG approves it, your bot will be unblocked. Just make sure to file BRFAs if you plan to run it outside your user page. – ] <small>(])</small> 02:01, 2 January 2025 (UTC)
::*Thanks Xaosflux. Above I said: "I don't want to remove bot edits from my watchlist." Yes, I could do this. But I've seen bot edits that have been problematic in the past. And I don't think ignoring bot edits is the default, so I'm not at all sure that fixes things for many, let alone most. I think you all are significantly underestimating the pain associated with this for folks. User retention is one of our primary issues and I suspect this hurts in its own small way. ] (]) 23:54, 5 June 2022 (UTC)
:::Hi {{u|DreamRimmer}}, sorry I was at the library so didn't feel comfortable logging in! Can it be unblocked to run the AfC and SPI ] tasks, if that's okay? Or should I file a BRFA even though they are exempt! Thank you and sorry for causing all this drama by not realizing that AWB had special rules for BRFA exemption and it didn't apply to all semi-automated/supervised scripts. ] <sup>]]</sup> 02:38, 2 January 2025 (UTC)
::*:A "default script for everyone" is the MediaWiki feature that defines the user group "bot". Something in common.js has the same probability of being enabled as a dog has to fly. {{tq|Yes, I could do this. But I've seen bot edits that have been problematic in the past}} Great! I would reccomend you keep on reading MalnadachBot's edits, then; if you find one of the fixes {{tq|problematic}}, you can raise that specific task at BOTN (here). Cheers! ] <sup>(he/him &#124; ])</sup> 00:10, 6 June 2022 (UTC)
::::Also 100% okay with the block being modified to a p-block from mainspace, as all the tasks only need to be within userspace! Thank you! :) ] <sup>]]</sup> 02:54, 2 January 2025 (UTC)
::*:Not sure what else to say here. That you want to see bot edits, but don't like these ones is your own preference. As far as halting, I'm not seeing anything technically wrong here - but if there is a consensus that this class of edits is now inappropriate, we could certainly stop this bot (and all others that do similar updates). ] may be a good place to have or advertise for such a discussion. — ] <sup>]</sup> 00:14, 6 June 2022 (UTC)
:::::AWB edits are "semi-automated", meaning that the operator glances at each suggested edit and approves it. Semi-automated edits are allowed. Bots are, by their nature, "fully automated". Anything fully automated, even when supervised, needs a BRFA, I think, except for userspace editing.
::*:After 3.7 million edits and fixing over 10 million Lint errros, I have yet to have anyone bring up actual erroneous edits or malfunctions by the bot. That's because I am running it in the safest mode possible. {{tq|it only solves the problem for me, not everyone else}} perhaps thats because most people dont have a problem with it and use the options available. What actually hurts user retention, or prevents people from becoming users in the first place, is knowingly letting accessibility problems lie in our pages just because some people dont want to customise their watchlists. ] (]) 06:29, 6 June 2022 (UTC)
:::::When Primefac sees your post, I think your bot is likely to get unblocked. You seem like you understand now so should be all good :) –] <small>(])</small> 03:50, 2 January 2025 (UTC)
:Tbh my issue with the bot is that it makes 5-10 edits to the same page to fix a single issue like deprecated <nowiki><font></nowiki> tags when if it actually parsed the page instead of fixing one signature at a time using regexes it should be able to fix all of them at the same time, properly. I'd probably support stopping the bot for very low-priority issues like <nowiki><font></nowiki> tags in signatures (which really aren't much of an issue); we can fix them when someone writes a bot to do it properly in one edit. (I basically agree with {{u|Legoktm}}'s comments ]).
::::::Thank you so much! I just had a little setup like it was a pywikibot script and it would tell me "do you want to make this change" for each page and I could press Y or N in the terminal, but now I understand why it is wrong. ] <sup>]]</sup> 03:52, 2 January 2025 (UTC)
:Most of MalnadachBot's edits seem to be about <nowiki><font></nowiki> tags, so I think a narrowly tailored RfC on just stopping edits that fix <nowiki><font></nowiki> tags if they don't fix all the errors on the page, would stop a lot of the watch-list spam but allow real lint fixes to be done. ] (]) 01:00, 6 June 2022 (UTC)
:::::::You can use Pywikibot scripts on ] with your main account at a slow edit rate, similar to AWB, if only a few pages are affected. It must be properly supervised. Please be aware that you are responsible for any mistakes that might occur. I don't recommend using PAWS due to the recent block and related issues, but I just wanted to share this. – ] <small>(])</small> 04:11, 2 January 2025 (UTC)
::One misunderstanding here is that the bot is not just fixing "a single issue like deprecated <nowiki><font></nowiki> tags", which makes the job at hand seem trivial. There is a useful thread ] in the archive, in which I listed a selection from the wide variety of errors that this bot is attempting to fix. I put out an open call for assistance to editors who think that this bot can perform better: {{tq|] is a sample page with approximately 180 Linter errors, nearly all of them font-tag-related. I encourage you to try to create a set of false-positive-free regular expressions that can fix every Linter font tag error on that page, and other VPT archive pages, with a single edit of each page. If you can do so, or even if you can reduce the count by 90% with a single edit, you will be a hero, and you may be able to help Misplaced Pages get out from under the burden of millions of Linter errors much more quickly.}} Nobody has taken up the challenge, so it is still open. Meanwhile, the bot has edited that VPT archive page five times since that discussion, reducing the error count by about 25%. – ] (]) 03:48, 6 June 2022 (UTC)
::::::::Ohh PAWS looks cool, thank you for showing me, it's basically what I was doing but on Jupyter instead of my laptop. Using PAWS, do I have to configure the Y/N prompt for each edit as I did when using the script on my laptop, and because that still caused people to get upset is there any other prompts/code I need to add to make it "supervised". Also why don't you recommend it, do you prefer AWB/JWB? Thank you! :) ] <sup>]]</sup> 04:15, 2 January 2025 (UTC)
:::To be clear I understand the bot is fixing a lot of issues - this is precisely why I'm only talking about limiting the bot on the specific issue of the obsolete font tag, which from looking at the bot edits is what most of the edits are about.
::::::::: Depending on the task, to fall under ] you should probably be looking at a diff or preview of some sort, not just answering "Y" (it's unclear to me what exactly what your process was). The edits should also indicate in some manner that they're semi-automated; usually this is by including mention of that in the edit summary, although ] might serve in some cases too. You should also code it to abort or notify you if anyone posts on your talk page, so you can react immediately if someone complains, and you should limit your rate both to avoid flooding watchlists and to give people time to react. ]] 04:56, 2 January 2025 (UTC)
:::Re "false-positive-free regular expressions" - that's precisely what I'm talking about is the issue. Regular expressions (in a very provable, mathematical sense - see ) cannot handle HTML, which is why there's so much issue with false positives. But a bot using an actual wikitext parser should be able to do a much better job. ] (]) 04:00, 6 June 2022 (UTC)
::::::::::Thank you for your help! I had it like it showed a diff, but only the lines changed (or for moves old title -> new title) and used the +bot flagged account to prevent flooding, but the talk page notification, rate limiting to give people time to respond and mentioning it in the edit summary are super smart ideas, thanks again! :) ] <sup>]]</sup> 05:03, 2 January 2025 (UTC)
::::The bot operator has, multiple times, offered to accept help with programming a bot that does a better job. As far as I know, nobody has been willing to put in the work to make those improvements. This bot, with apologies to , is currently the worst way to fix these millions of errors except for all of the other ways that have been tried thus far. – ] (]) 04:28, 6 June 2022 (UTC)
::::::::::: Do remember that the bot-flagged account may only be used to make BRFA-approved (or ]) edits, no matter if semi-automated or not. ]] 05:06, 2 January 2025 (UTC)
:::::Are we certain the errors need to be fixed? And if so, is there any rush? I'm struggling to understand why we have a dozen edits made to old RfAs. Perhaps we could either not fix them or agree to not have it edit a page more than once a year and fix all those errors at once? ] (]) 11:31, 6 June 2022 (UTC)
::::::::::::Thanks for the reminder, and helping me figure out all the policies! :) ] <sup>]]</sup> 05:11, 2 January 2025 (UTC)
::::::{{tag|font}} and some other tags have been deprecated, so yes, they need to be fixed, according to the Wikimedia developers, who set up this error tracking. No, there is no rush; a small group of editors has been working on these millions of errors for almost four years, and there are still more than 11 million errors left to fix. There is also no good reason to slow down; I wish the errors could be fixed more quickly, honestly, hence my plea for help in developing better code for the bot. Re fixing all the errors at once, please read what I posted and linked to above. – ] (]) 16:06, 6 June 2022 (UTC)
:It sounds like you understand the issues around this situation. I would suggest -- if you want an AWB-specific account used for semi-automated editing that doesn't clog your own contribution history -- that you create an AWB-specific account (see e.g. {{noping|Usernamekiran (AWB)}}). If we are otherwise all in agreement that your bot will only be used for BRFA-approved tasks (and the usual user-space edits which are exempt) then I am fine with unblocking the bot. Please let me know. ] (]) 08:52, 2 January 2025 (UTC)
:::::::{{ping|Jonesey95}} This argument is a red herring. Yes, it would be challenging (although not impossible) to design a single regular expression that fixes all of the various linter errors in one go. But that is not necessary to address the editing behavior issues with this bot. You could have 100 separate individual regular expressions, each of which fixes a single issue, and that would be far less challenging to develop. However, that doesn't mean that you'd need to make 100 individual edits in order to fix those issues. Any minimally sophisticated bot could grab the content of a page, run in through the first regex, then take the result and pass it through the second regex, then take the result and pass it through the third regex ... then take the result and pass it through the 100th regex, and '''''then''''' make a single edit to the page. Instead, this bot operator insists on making upwards of 20 edits to a single page. There is no insurmountable technical hurdle that's in the way of fixing these issues with one edit per page. In other words, if you've written the code that can reliably fix all of the 180 linter errors on your example page by making 20 edits, then it would be trivial to use that code to fix all 180 linter errors in a single edit. Either this bot operator isn't sophisticated enough to do that, or doesn't want to put in the additional effort to reduce their edit count. ] 17:24, 6 June 2022 (UTC)
::Thank you very much for your time and understanding {{u|Primefac}}, I know now to not use the bot account for semi-automated edits (only for fully-automated, BRFA approved or exempt edits). :) ] <sup>]]</sup> 09:10, 2 January 2025 (UTC)
::::::::{{U|Scottywong}} says that it is possible but still does not offer code to improve the bot. Please see the list of signatures I provided in the previous discussion, and develop a set of regexes to fix a decent fraction of them in one edit. If someone here can provide a false-positive-free regex or set of regexes that works as described above, I expect that the bot operator will be willing to include them in their code. – ] (]) 18:05, 6 June 2022 (UTC)
:::Glad to hear it. If you do have any questions in the future please feel free to ask a botop/BAG member or post here. ] (]) 09:32, 2 January 2025 (UTC)
:::::::::I'm not going to spend hours developing code just to prove you wrong. Are you saying that it's technically impossible to combine multiple fixes into a single edit? Again, if you have the code to fix 20 different issues in 20 different edits, then you have the code to fix those 20 issues in a single edit. This shouldn't be difficult to understand. I could write an entire article in 10,000 edits by adding one word per edit, or I could write the same exact article in a single edit. The problem isn't with the bot's ability to fix the linter errors; the problem is that it makes far too many edits per page to fix those errors, and there is no legitimate reason that multiple edits are required. ] 01:40, 7 June 2022 (UTC)
:If this specific bot annoys you, but you don't want to ignore bots in general, ] has instructions on how to ignore a specific bot. &#32;<span style="font-variant:small-caps; whitespace:nowrap;">] {] · ] · ] · ]}</span> 10:30, 6 June 2022 (UTC)
::Thanks. I did detail why I don't think that's a good way forward. Shutting down the bot, or taking a similar action to what you describe but making it the default for everyone, would address my issue. At the moment I think we are doing more harm than good. ] (]) 10:51, 6 June 2022 (UTC)
*'''Support halting the bot''' until such time that it can be shown that the bot operator is capable of fixing all linter errors on a page with a single edit. The benefits of fixing trivial linter errors is not outweighed by the disruption caused by taking multiple edits to accomplish it. Ensuring that the signature of a long-retired editor displays correctly on a 15 year-old AfD is not an important enough problem to trash everyone's watchlist for the remainder of eternity. None of the proposed methods of filtering the bot's edits from your watchlist are suitable for all circumstances. ] 17:28, 6 June 2022 (UTC)
*:"disruption caused by taking multiple edits to accomplish it"
*:AKA little-to-no disruption, which can easily be bypassed. We had a discussion on this just last month, and there's nothing that warrants stoppage of the bot. People are welcomed to suggest concrete improvements, but a loud minority that refuse to mute the bot on their own watchlist is no reason to halt the bot. &#32;<span style="font-variant:small-caps; whitespace:nowrap;">] {] · ] · ] · ]}</span> 18:31, 6 June 2022 (UTC)
*:*Lots of people seem to think it's a problem. If you've every worked with programmers (I am one), you've had the experiance where you say "this is a problem" and they say "no, it's not". And you're like "but I'm the user and yes, I understand why you think it's not a problem, but in practice, it is for me". We are having that discussion right now. Please don't assume your users are just being whiney or dumb. ] (]) 19:15, 6 June 2022 (UTC)
*:*:And lots of people have been given a solution which they refuse to use. MalnadachBot, on the whole, does more good (fixing hundreds of thousands / millions of lint errors) than harm (annoying a handful of editors). While it may not function not optimally (everyone agrees with would be great if the bot could do one edit per page and fix all the errors in one go), this is not reasonably doable / very technically challenging (while perhaps not insolvable, the issue has not yet been solved), and the bot still functions correctly and productively. Those that don't like it can solve their annoyance with single one edit, as detailed on ]. &#32;<span style="font-variant:small-caps; whitespace:nowrap;">] {] · ] · ] · ]}</span> 21:10, 6 June 2022 (UTC)
*:*::I think it's a lot more people who are annoyed than you are acknowledging. But that's why we have discussions. You may well be correct. I'm really unclear on why fixing these lint errors in old discussions is worthwhile. Is there a pointer to a discussion on this? ] (]) 22:30, 6 June 2022 (UTC)
*:*:::You can start at ]. There are multiple links from there if you want to take a deeper dive. – ] (]) 00:03, 7 June 2022 (UTC)
:Let the bot continue with its excellent work. Anyone who wishes to do a better job, is more then welcomed to either write their own bot or contribute better code to this one. Putting the onus on ಮಲ್ನಾಡಾಚ್ ಕೊಂಕ್ಣೊ to make an extremely complex code, better, while at the same time, shutting down its bot is ridiculous. If anyone has a problem with "watchlist spam", then hide bot edits. Don't want to? Then stop complaining. ] (]) 18:31, 6 June 2022 (UTC)
:*No? This is making it harder for me to use Misplaced Pages. So I will complain. If it turns out it really is only a handful of us who find the cost/benefit analysis to be poor then I'll just put up with it (as I have for more than a year now). ] (]) 22:33, 6 June 2022 (UTC)
:*:Or you know, just ] and have Misplaced Pages be 'easy' to use again. &#32;<span style="font-variant:small-caps; whitespace:nowrap;">] {] · ] · ] · ]}</span> 00:35, 7 June 2022 (UTC)
::*{{ping|Headbomb}} What about the set of editors that want to continue monitoring bot edits? Or the set of editors that want to specifically monitor Malnadachbot's edits to the pages on their watchlists (without being bombarded by the bot editing the same page dozens of times)? If we're all ignoring the bot's edits, then major problems could slip through the cracks without anyone noticing. I don't understand why some of you are so adamant that there is no problem here, despite the continuous stream of complaints from various editors over the last few months. What's the rush here? Why can't we just pause for a brief moment, take a step back, and see if there is a better way to proceed? ] 01:51, 7 June 2022 (UTC)
:::*Then hide MalnadachBot and leave the others unhid. Those than want to monitor MalnadachBot's edits but don't want to see MalnadachBot's edits is a minority so nonexistent we might as well discuss the current lives of dead people. And in the off chance those exists, ] is there for that. &#32;<span style="font-variant:small-caps; whitespace:nowrap;">] {] · ] · ] · ]}</span> 01:55, 7 June 2022 (UTC)
::::*Why are you always defending this bot so aggressively? Do you really believe that it is technically difficult to combine multiple fixes into a single edit? If you make 5 edits in a row to the same article, there is no technical reason that you couldn't have combined those 5 edits into 1 edit. I truly don't understand why you (and a few others) don't see this as being even a small issue. No one should have to hide a specific bot from their watchlist because its behavior is so disruptive. Keep in mind that this bot is also filling up the revision histories of millions of pages, making them more tedious to look through for editors. After a couple years of this bot running like this, a huge portion of the page histories on WP will be infected with the ], as evidenced by a giant block of 50+ edits in a row to every discussion page in the project that has user signatures on it. How can you not see this as a problem? ] 02:04, 7 June 2022 (UTC)
::::::{{xt|Do you really believe that it is technically difficult to combine multiple fixes into a single edit?}} Answer to that is an unequivocal '''Yes'''. See the stackoverflow link Galbotter has shared above. As someone who has spent hundreds of hours fixing html errors, I fully agree with the pinned answer. they try to build a bot that can fix all Lint errors in a single edit. You can sooner build a bot to write featured articles than a bot to fix all Lint errors of all type in a single edit. If this doesn't make sense to you, you have no idea what we are actually dealing with. With this bot run in future, people will not notice anything unusal when reading pages, ''which is exactly this point of these edits''. Users have a greater necessity to read old discussions than to check its page history. Page histories are irrelevant to readers, whose needs come first. ] (]) 05:58, 7 June 2022 (UTC)
:::::::{{ping|ಮಲ್ನಾಡಾಚ್ ಕೊಂಕ್ಣೊ}} You're misunderstanding the point. I understand the difficulties in detecting and fixing a wide variety of linter errors. It's not a simple problem to solve. However, the issue that is being brought up here is not that your fixes are inaccurate or invalid. The issue is that you're making far too many edits per page to solve these problems. Regardless of the complexity of the problem, if you have written code that can accurately correct 100 different linter errors by making 100 separate edits to the same page, then it should be trivial to amend that code so that it fixes all 100 errors in a single edit. There is no reason that your code has to actually commit an edit after fixing each individual error, before moving on to the next error. Your code analyzes the wikitext of a page, modifies it, and then submits the modified wikitext as an edit. Instead, your code should submit the modified wikitext to the next block of code, which can analyze it and modify it further, and then the next block of code, etc., until all possible modifications have been made, and ''then'' submit the final wikitext as a single edit. Instead, you are fixing one error, making an edit, fixing another error on the same page, making another edit. This is the problem. No one is asking you to develop code that magically fixes every linter error known to humanity in a single edit. All we're saying is that your code should fix ''all of the issues that it is capable of fixing'' within a single edit. I don't understand why that is difficult for you. ] 15:30, 7 June 2022 (UTC)
::::::::I don't have code to fix 100 patterns in a page ''at the same time''. Rather what I usually have is code to fix 100 patterns spread across 50,000 pages. Individual pages among the 50,000 will have at least 1 and usually not more than 5 of the patterns that are being checked in that batch. All patterns are checked sequentially and then saved in a single edit. In the (highly unlikely) case if a page has all 100 patterns in a batch, it matches the first pattern, the output of which will be matched with the second pattern and so on upto the 100th. Only the final output is saved in a single edit, it does not save 100 times in hundred edits. Once the 100 patterns in this batch across 50,000 pages is cleared, 100s more issues that were previously burried deep come out to the top of Linter reports and the process is repeated. In that {{U|Cryptic}} has brought up below, the bot has made 21 edits over 11 months from 2 tasks. At the time of edits from task 2, I did not have approval for edits that were made from task 12. Basically MalnadachBot is very good at fixing Lint errors by "breadth" (35-40k per day) but is bad at fixing them by "depth". Hope this is clear. ] (]) 19:20, 7 June 2022 (UTC)
:::::::::I understand that your code has developed over time, and perhaps 6 months ago you didn't have the code developed to fix an issue that you can fix today. And that might account for multiple edits on certain pages. Sure, that is reasonable. However, that doesn't explain why, for example on {{history|User:GlassCobra/Editor for deletion/Previous discussions|this page}}, you made 26 different edits that were linked to task 2 of your bot, and another 24 separate edits that were linked to task 12 of your bot. In total, you made 50 edits to the same page to carry out fixes for two approved tasks. If it was true that you simply hadn't gotten approval for task 12 at the time that you were running task 2, then I would have expected a maximum of 2 edits to this page (one for task 2, one for task 12), not 50. Much of your explanation above doesn't make any sense to me. You say that "all patterns are checked sequentially and then saved in a single edit", but then how can you explain why you made 50 edits to a single page? It doesn't add up. I'm honestly losing confidence that you have the technical expertise to carry out these tasks in a responsible manner. I'm glad you're getting some help from other editors in the conversations below, and I look forward to a day when you can make one edit per page to carry out all fixes at once. Until that day arrives, I believe that you should stop your bot from making edits. There is no rush to fix these issues, and it shouldn't be done until it can be done correctly. ] 22:25, 7 June 2022 (UTC)
:::::::{{ping|ಮಲ್ನಾಡಾಚ್ ಕೊಂಕ್ಣೊ}} you misunderstand what I mean by the stackoverflow link. The issue is that you are using regex to fix a problem that regex is not meant to solve. As the stackoverflow link states, using an actual parser makes doing HTMl stuff easy. ] (]) 21:39, 7 June 2022 (UTC)
*'''Halt'''. If you're not competent to handle even trivial cases like combining these edits then you're not competent to be running a bot, let alone touching its code. —] 23:39, 6 June 2022 (UTC)
*:Yeah the bot seems to fix every page with a certain signature in one go rather than any form of batching which means many many edits to the same page. At the very least stop for a few months, accumulate a big list of signatures to fix and apply the fixes at the same time, rather than rushing. ] (]) 01:53, 7 June 2022 (UTC)
::*Exactly. I could ''maybe'' understand if the bot was making separate edits to fix distinctly different issues. But your diffs show that the bot is making multiple edits to fix different instances of the ''same exact issue'' on a single page. Combine that with the fact that these are purely cosmetic issues, and that's over the line for me. ] 01:56, 7 June 2022 (UTC)
:::{{Ping|Galobtter}} I combine multiple signatures and run the bot in batches. If multiple signatures in a batch are present in a page, the bot replaces them in a single edit. The problem is that there are only so much signatures you can collect from the Linter lists before you start running into the same signatures again and again. To get new signatures, I would have run a batch and remove a few hundred thousand entries from the lists. ] (]) 05:58, 7 June 2022 (UTC)


=== Code === == BAG nomination ==
As requested:
<syntaxhighlight lang="python">
import mwparserfromhell as mwph


Hi! I have nominated myself for ] membership. Your comments would be appreciated on the ]. Thanks! – ] <small>(])</small> 16:50, 18 January 2025 (UTC)
def fix_font(wikitext: str) -> str:
code = mwph.parse(wikitext)
for tag in code.filter_tags():
if tag.tag == "font":
# Turn it into a <span>
tag.tag = "span"
# Turn color into style="color: ...;"
if tag.has('color'):
attr = tag.get('color')
attr.name = "style"
attr.value = f"color: {attr.value};"
# TODO: face, size
return str(code)
</syntaxhighlight>

Using as an example:
<syntaxhighlight lang="ipython">
>>> print(fix_font("""] <sup>(]•]•]•])</sup> 15:48, 13 December 2015 (UTC)"""))
] <sup>(]•]•]•])</sup> 15:48, 13 December 2015 (UTC)
</syntaxhighlight>

It's entirely possible I've missed something, but seems like the general approach should work. ] (]) 20:49, 6 June 2022 (UTC)
*I think it is ridiculous that upstream dev's wont just keep support for these tags (convert them in the parser or whatever) - but that's not the bot's fault. In general, I don't see any specific edit this bot is making is bad, that is if an editor made it it would be OK. Now, could the bot be "better", sure - but as long as we are getting threatened by the software folks that our pages will be disrupted if we don't change the wikitext I'm not too opposed to people slowly going through them. I don't like extra edits for sure, but I don't really have any sympathy for the ''When I don't hide bots in my watchlist, my watchlist is busy'' complaint. We keep putting up with unflagged editors spamming recent changes/watchlists and can't get support to get them to stop. — ] <sup>]</sup> 23:52, 6 June 2022 (UTC)
::{{U|Legoktm}}, thank you! for being the first person to actually suggest code improvements. You have illustrated the complexity of constructing code that will work on the wide variety of font tags that are out there in the wild, because the code as written above (a # symbol , even though it wasn't needed in font tags). You also got lucky that the font tag was inside the wikilink; font tags outside of wikilinks sometimes need different processing. If you are willing to create code that works on a significant fraction of the list of signatures in the archived discussion that I linked above, I expect that the bot operator would be willing to engage with you, or perhaps another brave editor would be willing to create a new bot with your new approach. I think we can all agree that fewer edits per page, as long as the edits are error-free, is the optimal outcome, and the above code snippet, with some development, seems to promise some of that. – ] (]) 00:12, 7 June 2022 (UTC)
:::I think that a potential solution would be using regex replaces sequentially. They could be stored in a dictionary, so the code would loop through it, do a replace, then do the next for the already-replaced text. ] <sup>(he/him &#124; ])</sup> 00:29, 7 June 2022 (UTC)
::::I'm pretty sure the bot does this already, applying multiple regexes to each edit, when applicable. The challenge is that in order to best avoid false positives, it is my understanding that editor signatures and other specific patterns are added one by one to the list of regexes. You can't just add a general pattern and hope to avoid false positives, because you could end up changing examples that are deprecated or invalid on purpose. You'd have to ask the bot operator to be sure. – ] (]) 01:36, 7 June 2022 (UTC)
:::::I think you're misunderstanding; the regexes can be applied ''sequentially'', rather than all together. Right now, I believe what you mean by "applying multiple regexes" is doing, say, 5 together, all at once, but rather this can be applied one after the other (first replaces the first regex, then takes the result of that replace and triggers the second, etc). ] <sup>(he/him &#124; ])</sup> 01:40, 7 June 2022 (UTC)
::::::I do apply changes sequentially. i.e match for one pattern in the whole page and use the output to match the next pattern one after the other for all patterns in a batch. After it has matched all of them, it will save the final output in a single edit. ] (]) 05:58, 7 June 2022 (UTC)
:::::::@], so why does your bot need 100+ edits to fix Lint errors? ] <sup>(he/him &#124; ])</sup> 16:07, 7 June 2022 (UTC)
::::::::Which page has 100+ edits by MalnadachBot? If you see the ] given by Hobit, it shows about 16 edits spread across 11 months and 2 seperate tasks. All of those edits are from different batch runs, it does not make any edits in rapid succession. A typical edit by MalnadachBot would be something . Most pages have only one or two Lint errors that is fixed using direct signature replacement and it will not have to visit it again. RFA pages tend to acccumalate a lot of different signatures which why they have 10+ edits. Now that I think of it, maybe I should just skip highly watched pages like RFAs since that is what at least 3 poeple have mentioned. ] (]) 16:29, 7 June 2022 (UTC)
:::::::::100+ is probably an exaggeration. Pages with 50+ are ''easy'' to find. . . . —] 17:46, 7 June 2022 (UTC)
::::::::::Wow! That is just egregious. I didn't know pages like this existed. There's no legitimate reason for a bot to behave like this. ] 22:13, 7 June 2022 (UTC)
:::@]: heh, I should've previewed before posting :p yeah, it needs to check if the value is hex, and if so, prefix it with a hash if it isn't already. I would prefer if someone else took over my proof-of-concept and ran with it, but given that I do find the current behavior slightly annoying I might if no one else picks it up. The main point I wanted to make is that using a proper wikitext/HTML parser instead of regex makes this much more straightforward, I think a comprehensive font -> span function should be about 100 lines of Python. ] (]) 04:33, 7 June 2022 (UTC)
::::In the past few weeks, I have been building a bunch of general regexes using the same proof-of-concept as in {{U|Legoktm}}'s code above. These regexes work with near 100% accuracy for very rigid sets of replacements applied sequentially. I am sure that if I use them, I can fix about 7 million Lint errors, fixing most of the common cases in a single edit. It will greatly decrease the number of revists. The reason I have not used them is that it ignores Lint errors other than font tags. The bot will still have to revist pages for other types of Lint errors, which is what some people have a problem with. ] (]) 05:58, 7 June 2022 (UTC)
::::I have listed some safe regexes in ]. I am currently running the bot with it. If the wikitext parsing method mentioned above can handle nested font tags, misnested tags, mutiple tags around the same text, tags both inside and outside a link etc, I am willing to give it a try. ] (]) 13:26, 7 June 2022 (UTC)
:::::What's the reason for using regexes instead of a wikitext/HTML parser? Another strategy I've been thinking about since yesterday is to use some form of visual diffing to verify the output is unchanged before saving. Then you could have code that doesn't handle literally every single edge case run and clean up most pages in bulk, and then go back and write in code to handle pages with edge cases in smaller passes. ] (]) 17:15, 7 June 2022 (UTC)
::::::As for why I use regexes, that's because this is an AWB bot and is easy to use with it. I just tried mwparserfromhell, got it to work fine for font tags with a single attribute. However am stuck at font tags with two attributes. I tried <syntaxhighlight lang="python">
if tag.tag == "font":
tag.tag = "span"
if tag.has('color') and tag.has('face'):
attr1 = tag.get('color')
attr2 = tag.get('face')
attr1.name = "style"
attr2.name = "style"
attr1.value = f"color:{attr1.value};"
attr2.value = f"font-family:{attr2.value};"
</syntaxhighlight>
::::::For this if I pass <syntaxhighlight lang="HTML" inline><font color="red" face="garamond">abc</font></syntaxhighlight>, it returns <syntaxhighlight lang="HTML" inline><span style="color:red;" style="font-family:garamond;">abc</span></syntaxhighlight>. How can I get them in a single style? ] (]) 18:22, 7 June 2022 (UTC)
:::::::@] try ]. Maybe we should move to a Git repo for easier collaboration? Also we want fixers for all the other deprecated tags. ] (]) 19:00, 7 June 2022 (UTC)
::@] afaik there's no indication that browser devs are actually going to drop support for the tags, isn't it just in linter because font tag are obsolete in HTML5? Or did I miss a discussion. ] (]) 01:57, 7 June 2022 (UTC)
::@]: that's a big from me. Please provide links to where developers (MediaWiki or browser) have made these "threats" about <nowiki><font> and other deprecated HTML tags being removed - I'm not aware of any. The tag is marked as deprecated because it shouldn't be used in new code, and it would be nice to clean up old uses of it, but there's no deadline to do so. Certainly if browsers did even propose to remove it there would be huge blowback given how much legacy content on random geocities type websites that would be broken, I doubt it'll ever happen. That said, how people choose to spend their time on Misplaced Pages is up to them, and if people are interested in cleaning this stuff up, more power to them.</nowiki> ] (]) 04:10, 7 June 2022 (UTC)
:::@] good point, I'd have to go find more on that - so are you saing that "font" deprecation is basically useless and we need not worry about it really - because I'd certainly rather nobody bother with any of the ]'s if doing so is going to be useless. — ] <sup>]</sup> 10:01, 7 June 2022 (UTC)
::::I would put it one or two steps above useless. I think it is nice that people are cleaning this stuff up, but there's absolutely no urgency to do so. I'm struggling to come up with an analogy to other wiki maintenance work at the moment that clearly articulates the value of this work without overstating its importance...I'll try to get back to you on that. ] (]) 17:12, 7 June 2022 (UTC)
:*{{tq|I don't see any specific edit this bot is making is bad}} - then you're not thinking it through. '''I. See. (No exaggeration.) ''HUNDREDS OF THOUSANDS''. Of. Bad. Edits.''' If a bot's reason for editing a page is to eliminate font tags, then '''it is an unambiguous error to save that page with a font tag remaining in it'''. If it can't yet handle all the cases on a given page, then the blindingly obvious solution is to log it for later inspection and then either skip that page or halt entirely. And yes, if a human made fifty edits in a row to a given page fixing a single font tag per edit and continued to do so over millions of pages for years while dozens of editors begged them to stop, we'd block them in a heartbeat. —] 17:46, 7 June 2022 (UTC)
:*:If I edit a page and fix something on it - the page is better than it was before. Lack of not also fixing something else doesn't make my first edit "bad". If an article had two misspelled words and you fixed one should you be cautioned for not fixing the other? My comment was in the broadest, along the lines of ''If a human editor made this edit should it be reverted?'' - and I'd say no. And yes, if someone without a bot flag was flooding recent changes we'd have issue - because of that. All that being said, following from my last comment: if these edits are useless then they shouldn't really be getting made by any bots at all - and that is something that we can measure community support for to make a decision. — ] <sup>]</sup> 18:16, 7 June 2022 (UTC)
:*::Add me to any list of editors who would like a solution to this. I’m tired of seeing them. ] ] 18:47, 7 June 2022 (UTC)
:*:::{{ping|Doug Weller}} et al: I'm kind of agnostic on the need for this bot, and the level of headache it's causing, and the extent of support and opposition to the bot, and the ease/necessity of reducing the number of edits per page, and whether it makes sense to pause this until it is more efficient. But just a reminder (the bot's userpage says this, and Headbomb says it somewhere up above, but this is a long thread now) that ] works well if you want to hide just one bot's contribs (or, I'm surprised to find out, one user. I didn't know that was possible). I'm <s>an idiot</s> <small>"very non-technical"</small>, and I just now set it up by myself, and now I see no Malnawhateverbot edits in my watchlist, but all the other bots are still there. You're all of course free to keep arguing - and I'll be watching out of curiosity - but that does solve the ''immediate'' problem for those who find this to be ... an immediate problem. --] (]) 19:33, 7 June 2022 (UTC)
:*::::Correction: it seems to work fine on my computer, but apparently it doesn't work on my phone (even when in desktop mode). So not quite the perfect solution I marketed it as above. --] (]) 19:39, 7 June 2022 (UTC)
:*:::::Using the mw.loader.load version of this aka {{tl|lusc}} is likely to sort that on mobile. ] (]) 19:46, 7 June 2022 (UTC)
:*:::::Thanks, looks useful. I wonder if it will work on my iPad. ] ] 19:57, 7 June 2022 (UTC)

== FireflyBot is not running ==

] has stopped. It last ran at about 1100 GMT on 2 June, and notified editors that their drafts had been untouched for 5 months. It also isn't updating the ] case status. I left a note on the talk page of ], who seems to be busy blocking spammers. ] (]) 15:12, 6 June 2022 (UTC)

:Hi @] the only person who can make that bot start would be its operator. You could drop a request at ] to see if someone else would like to spin up a clone and take over some of those tasks. — ] <sup>]</sup> 15:34, 6 June 2022 (UTC)

Latest revision as of 16:47, 22 January 2025

Noticeboard for bot-related issues

Noticeboards
Misplaced Pages's centralized discussion, request, and help venues. For a listing of ongoing discussions and current requests, see the dashboard. For a related set of forums which do not function as noticeboards see formal review processes.
General
Articles,
content
Page handling
User conduct
Other
Category:Misplaced Pages noticeboards
    Bots noticeboard Shortcuts

    Here we coordinate and discuss Misplaced Pages issues related to bots and other programs interacting with the MediaWiki software. Bot operators are the main users of this noticeboard, but even if you are not one, your comments will be welcome. Just make sure you are aware about our bot policy and know where to post your issue.

    Do not post here if you came to

    Bot-related archives
    Noticeboard1, 2, 3, 4, 5, 6, 7, 8, 9, 10
    11, 12, 13, 14, 15, 16, 17, 18, 19
    Bots (talk)1, 2, 3, 4, 5, 6, 7, 8, 9, 10
    11, 12, 13, 14, 15, 16, 17, 18, 19, 20
    21, 22
    Newer discussions at WP:BOTN since April 2021
    Bot policy (talk)19, 20, 21, 22, 23, 24, 25, 26, 27, 28
    29, 30
    Pre-2007 archived under Bots (talk)
    Bot requests1, 2, 3, 4, 5, 6, 7, 8, 9, 10
    11, 12, 13, 14, 15, 16, 17, 18, 19, 20
    21, 22, 23, 24, 25, 26, 27, 28, 29, 30
    31, 32, 33, 34, 35, 36, 37, 38, 39, 40
    41, 42, 43, 44, 45, 46, 47, 48, 49, 50
    51, 52, 53, 54, 55, 56, 57, 58, 59, 60
    61, 62, 63, 64, 65, 66, 67, 68, 69, 70
    71, 72, 73, 74, 75, 76, 77, 78, 79, 80
    81, 82, 83, 84, 85, 86, 87
    Bot requests (talk)1, 2
    Newer discussions at WP:BOTN since April 2021
    BRFAOld format: 1, 2, 3, 4
    New format: Categorized Archive (All subpages)
    BRFA (talk)1, 2, 3, 4, 5, 6, 7, 8, 9, 10
    11, 12, 13, 14, 15
    Newer discussions at WP:BOTN since April 2021
    Bot Approvals Group (talk)1, 2, 3, 4, 5, 6, 7, 8, 9
    BAG Nominations



    Bot not running - creator inactive

    Hi! I noticed that the Rick Bot is not running correctly and has not been active since November 30th. Its creator, Rick Block is also largely inactive and hasn't stopped by since November 4th (or responded to a message on his talk). He's had long periods of inactivity before, which ordinarily isn't a problem since the bot keeps on trucking. The bot normally runs daily and does some useful tasks, including updating the count of admins and CFD archives. Is there an established procedure to step in and fix a bot or duplicate its functions if an operator isn't available? Thanks! —Ganesha811 (talk) 19:35, 31 December 2024 (UTC)

    Anyone is welcome to create a "backup" bot or similar if a bot operator is AFK and otherwise not responding. If the source code is freely available then this can be as simple as using the code and filing a new BRFA, or it could mean needing to re-write it all from scratch before filing a BRFA. Either way, unless the bot is directly handed off to someone (unlikely if the operator is away) then you'll need a BRFA to take over the task, even if only temporarily. Primefac (talk) 13:38, 1 January 2025 (UTC)
    The code is availabe at User:Rick Bot/scripts. It doesn't look too hard to set up. — Qwerfjkltalk 13:00, 2 January 2025 (UTC)
    Thanks to you both for the answers. Hopefully Rick will be back soon, but if he isn't, I think it makes sense for another bot operator to set up duplicative functions and get approval so these tasks can be handled. —Ganesha811 (talk) 13:58, 2 January 2025 (UTC)
    I can help with the admin activity updates. I can write new code and file a BRFA if that works for you. I am temporarily taking on this task, so if anyone is interested in taking over, feel free to contact me for the source code. – DreamRimmer (talk) 15:16, 2 January 2025 (UTC)
    That works for me (not that I have any actual authority in this matter lol!). Thanks for stepping up to take over those functions. If anyone else has the expertise or time to take over the bot's other tasks, that would be very helpful as well. —Ganesha811 (talk) 16:45, 2 January 2025 (UTC)
    Alright, I will file a BRFA shortly. – DreamRimmer (talk) 16:50, 2 January 2025 (UTC)
    BRFA filedDreamRimmer (talk) 19:22, 2 January 2025 (UTC)

    PearBOT

    Hi, please forgive me if this isn't the proper way to do this here. I was going to create a new section, but noticed this one and I have the exact same question. I recently realized that PearBOT hasn't been running correctly since February 2024, and it's creator, Trialpears, doesn't seem to be active anymore. More specifically, I'm personally interested in the functions of PearBOT 3.

    So anyway, my question, as this is all beyond my skill set/knowledge base. Would this bot specially need a re-write, or just a new BRFA filing with the existing source code? Winderz IoT (talk) 19:58, 11 January 2025 (UTC) Edit: Tagging @Pppery: as I thought you might be interested in this topic as well. Winderz IoT (talk) 20:48, 11 January 2025 (UTC)

    I have restarted PearBOT and updated the code to work with the latest versions of Pywikibot and Python. Please take a look at the edits and let me know if you notice any issues. @Winderz IoTDreamRimmer (talk) 14:38, 12 January 2025 (UTC)
    Thank you so much! Seems like it is working well! Honestly a bit of a relief to not have this on the todo list. Trialpears (talk) 17:08, 12 January 2025 (UTC)
    Thank you both for all the help! I'd be completely lost otherwise, 😅. I wasn't sure if this bot would ever work again, so really glad to see it working now, certainly makes things a bit easier/better. Furthermore, I quickly looked at the edits, I'm not noticing any obvious issues so far, seems to be working as expected, so much appreciated. @DreamRimmer @Trialpears

    Also, @Trialpears, I've dealt with depression myself, so I know the feeling, but it can get better. Oh, and no worries about any inconvenience on my part at least to be clear, we're all volunteers after all :). Winderz IoT (talk) 02:08, 13 January 2025 (UTC)
    If someone takes this over with their own bot, it will need a new BRFA, if only to ensure that everything is working as intended. Primefac (talk) 20:01, 11 January 2025 (UTC)
    Thanks for the quick response. Yeah, I'm hoping someone with a better knowledge of this than myself could take this over. Winderz IoT (talk) 20:48, 11 January 2025 (UTC)
    Oh crap, when I was first looking at PearBOT I didn't notice that only some PearBOTs have their source code published it seems, my bad. PearBOT 3s source seems to be missing. Or am I just a newb who's not finding it? Winderz IoT (talk) 05:31, 12 January 2025 (UTC)
    It's available at User:PearBOT/Template cache/source. – DreamRimmer (talk) 05:56, 12 January 2025 (UTC)
    Depression is rough. I don't have the energy to do all that much these days and when I do Misplaced Pages is very low priority. I'm happy to add anyone to the tool forge project if anyone wants. I believe the only thing that is broken is that the scheduler system changed and I apparently failed to update it properly. Sorry for all the inconvenience I've caused. Trialpears (talk) 10:37, 12 January 2025 (UTC)
    @Trialpears: I can fix and maintain it if you can add me. – DreamRimmer (talk) 10:41, 12 January 2025 (UTC)
    @DreamRimmer I believe I managed to add you as a maintainer. Feel free to do anything you want with the stuff there. I believe the infobox request task also is in the same boat but that might be moot after all the WikiProject banner redesigns. I really haven't kept up. Trialpears (talk) 11:05, 12 January 2025 (UTC)
    @Trialpears: I think you added me to the wrong tool; it should be pearbot, not pearbot2. – DreamRimmer (talk) 12:25, 12 January 2025 (UTC)
    Right, should be fixed now. Trialpears (talk) 12:34, 12 January 2025 (UTC)

    Apology to the community (MolecularPilot)

    I am very sorry for answering requests on WP:BOTREQ for small one-off tasks without seeking a BRFA. After reading somewhere that tasks with less than 700 edits could be just done if there is consensus, I was confused but now realise this is an AWB only rule. However, this is no excuse.

    After the requested minor planet task (500 edits approx, RM consensus) and requested school SVG logo categorisation (300 edits approx, general rules of subcats consensus), DreamRimmer clarified to me on Talk that tasks with Python or a bot script outside of bot userspace always require a BRFA, even if supervised and that I was getting confused with the AWB rule. I then promised to file BRFAs for all my scripts.

    When moving a botreq thread to awbreq, I saw Whatamidoing (not pinged as uninvolved in this) had made a request that I could fufil, as I know about psychology so could assemble the list of pages, 227 to be exact. I'm on mac so I can't use AWB, so I made a script to fufil this task and filed a BRFA as requested by DR for all my scripts. (Note that this one was automatic, unlike the other edits which were done with supervised scripts).

    However, Primefac declined this as it was too small a task and is best done with AWB, not a script, and then promptly blocked the bot for the unapproved minor planet and school logo tasks, also disabling requested WP:EXEMPTBOT AfC and SPI reporting tasks.

    So i am here to sincerely apoloigise for running scripts to try and help people (still, not an excuse) without a WP:BRFA, and for then opening a BRfA when AWB would have been needed. If wanted by the community for an unblock, I agree to a 3 month topic ban from helping people with nom-exempt tasks on botreq or awbreq. If I have lost the communities trust as a botop, I will also stop all tasks on toolforge and send the code to someone else. I am very sorry again. 2001:8003:4A10:601:7A7B:9C3B:3071:213D (talk) 21:35, 1 January 2025 (UTC)

    Aso noting that I'm not blocked, but my bot MolecularBot is. I'm not logged out for block evasion, it's just that I cant log in right now but wanted to get an apology out for my poor behavouir to the community as soon as posible. Thank you to everyone who helped me on my Talk, and to the wider community for your understanding. 2001:8003:4A10:601:7A7B:9C3B:3071:213D (talk) 21:38, 1 January 2025 (UTC)
    Please use your account to communicate. Regarding the bot block, you can file a BRFA once you have a better task for your bot. If BAG approves it, your bot will be unblocked. Just make sure to file BRFAs if you plan to run it outside your user page. – DreamRimmer (talk) 02:01, 2 January 2025 (UTC)
    Hi DreamRimmer, sorry I was at the library so didn't feel comfortable logging in! Can it be unblocked to run the AfC and SPI WP:EXEMPT tasks, if that's okay? Or should I file a BRFA even though they are exempt! Thank you and sorry for causing all this drama by not realizing that AWB had special rules for BRFA exemption and it didn't apply to all semi-automated/supervised scripts. MolecularPilot 02:38, 2 January 2025 (UTC)
    Also 100% okay with the block being modified to a p-block from mainspace, as all the tasks only need to be within userspace! Thank you! :) MolecularPilot 02:54, 2 January 2025 (UTC)
    AWB edits are "semi-automated", meaning that the operator glances at each suggested edit and approves it. Semi-automated edits are allowed. Bots are, by their nature, "fully automated". Anything fully automated, even when supervised, needs a BRFA, I think, except for userspace editing.
    When Primefac sees your post, I think your bot is likely to get unblocked. You seem like you understand now so should be all good :) –Novem Linguae (talk) 03:50, 2 January 2025 (UTC)
    Thank you so much! I just had a little setup like it was a pywikibot script and it would tell me "do you want to make this change" for each page and I could press Y or N in the terminal, but now I understand why it is wrong. MolecularPilot 03:52, 2 January 2025 (UTC)
    You can use Pywikibot scripts on WP:PAWS with your main account at a slow edit rate, similar to AWB, if only a few pages are affected. It must be properly supervised. Please be aware that you are responsible for any mistakes that might occur. I don't recommend using PAWS due to the recent block and related issues, but I just wanted to share this. – DreamRimmer (talk) 04:11, 2 January 2025 (UTC)
    Ohh PAWS looks cool, thank you for showing me, it's basically what I was doing but on Jupyter instead of my laptop. Using PAWS, do I have to configure the Y/N prompt for each edit as I did when using the script on my laptop, and because that still caused people to get upset is there any other prompts/code I need to add to make it "supervised". Also why don't you recommend it, do you prefer AWB/JWB? Thank you! :) MolecularPilot 04:15, 2 January 2025 (UTC)
    Depending on the task, to fall under WP:SEMIAUTOMATED you should probably be looking at a diff or preview of some sort, not just answering "Y" (it's unclear to me what exactly what your process was). The edits should also indicate in some manner that they're semi-automated; usually this is by including mention of that in the edit summary, although tags might serve in some cases too. You should also code it to abort or notify you if anyone posts on your talk page, so you can react immediately if someone complains, and you should limit your rate both to avoid flooding watchlists and to give people time to react. Anomie 04:56, 2 January 2025 (UTC)
    Thank you for your help! I had it like it showed a diff, but only the lines changed (or for moves old title -> new title) and used the +bot flagged account to prevent flooding, but the talk page notification, rate limiting to give people time to respond and mentioning it in the edit summary are super smart ideas, thanks again! :) MolecularPilot 05:03, 2 January 2025 (UTC)
    Do remember that the bot-flagged account may only be used to make BRFA-approved (or WP:BOTEXEMPT) edits, no matter if semi-automated or not. Anomie 05:06, 2 January 2025 (UTC)
    Thanks for the reminder, and helping me figure out all the policies! :) MolecularPilot 05:11, 2 January 2025 (UTC)
    It sounds like you understand the issues around this situation. I would suggest -- if you want an AWB-specific account used for semi-automated editing that doesn't clog your own contribution history -- that you create an AWB-specific account (see e.g. Usernamekiran (AWB)). If we are otherwise all in agreement that your bot will only be used for BRFA-approved tasks (and the usual user-space edits which are exempt) then I am fine with unblocking the bot. Please let me know. Primefac (talk) 08:52, 2 January 2025 (UTC)
    Thank you very much for your time and understanding Primefac, I know now to not use the bot account for semi-automated edits (only for fully-automated, BRFA approved or exempt edits). :) MolecularPilot 09:10, 2 January 2025 (UTC)
    Glad to hear it. If you do have any questions in the future please feel free to ask a botop/BAG member or post here. Primefac (talk) 09:32, 2 January 2025 (UTC)

    BAG nomination

    Hi! I have nominated myself for BAG membership. Your comments would be appreciated on the nomination page. Thanks! – DreamRimmer (talk) 16:50, 18 January 2025 (UTC)

    Categories:
    Misplaced Pages:Bots/Noticeboard: Difference between revisions Add topic