Wikipedia:Bots/Requests for approval/Qwerfjkl (bot)


 * The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at Bots/Noticeboard. The result of the discussion was

Qwerfjkl (bot)
Operator:

Time filed: 09:18, Saturday, September 18, 2021 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): JavaScript

Source code available: User:Qwerfjkl (bot)/code

Function overview: Fix (self link)

Links to relevant discussions (where appropriate):

Edit period(s): One time run?

Estimated number of pages affected: ~11,000

Exclusion compliant (Yes/No): No

Already has a bot flag (Yes/No): No

Function details: I'm following Jonesey95's advice at Bots/Noticeboard and filing a BRFA to fix the ~11,000 articles with self-links. I've already run this on a large number of articles with no problem (see my contribs), but I recently changed the code to work on section links (and some other minor changes).

Discussion
, cool, seems like a useful bot. In the code, it seems like you do some sort of manipulation to make sure the first character of the title is lowercase, and then use that in the regular expressions. What's the purpose of that? Enterprisey (talk!) 07:22, 25 September 2021 (UTC)
 * @Enterprisey To handle links like Asda and asda, while leaving AsdA and asdA. &#8213; Qwerfjkl  talk  07:27, 25 September 2021 (UTC)
 * Ah, I see. Well then, Enterprisey (talk!) 07:57, 25 September 2021 (UTC)
 * @Enterprisey ✅ - see Special:Contribs/Qwerfjkl (bot). Only one problem here - I've changed the RegEx so it will avoid links like  and , but fix   with Section link. Curiously, when fixing the error, I managed to use a script while logged out. &#8213;  Qwerfjkl  talk  11:57, 25 September 2021 (UTC)
 * Cool! Thanks for your work on this. If it's possible to remove that long checkwiki URL from the edit summary, so that it would just be "Removed link(s) to title (CW error #48) (via Bandersnatch)", that would be cool; if not, don't sweat it. And yeah, I've edited while logged out a few times while testing a bot program. Always a fun little surprise... Enterprisey (talk!) 19:30, 27 September 2021 (UTC)
 * The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at Bots/Noticeboard.