Template:COVID-19 vaccination data in Africa not updatingEdit

The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section. A summary of the conclusions reached follows.
Moved to w:en:User talk:Tol#Template:COVID-19 vaccination data in Africa not updating Tol (talk | contribs) @ 21:42, 18 December 2021 (UTC)

Hi Tol, it appears that Template:COVID-19 vaccination data in Africa has not been updated in over 2 months. If possible could you fix it. Thanks. TapticInfo (talk)


The above discussion is preserved as an archive. Please do not modify it. Subsequent comments should be made in a new section.

TolBot issueEdit

Hello, Tol. It appears that TolBot changed w:en:Talk:Bố Trạch District so that it now redirects to itself. I think I can clean up the issue, but I wanted to alert you so that you could check the bot's code. --R'n'B (talk) 15:51, 28 January 2022 (UTC)

@R'n'B: Hm, weird. It looks like this was because the talk page and article page had different names — the article had "District" capitalised, while the talk page for that title redirected to the page with lowercase "district". I'll file this in the pile of really weird edge cases, and add a check for redirected talk pages or something. Thanks for letting me know! (This is Task 13, for reference.) Tol (talk | contribs) @ 15:55, 28 January 2022 (UTC)

TolBot Task 13Edit

Moved from User talk:TolBot § Task 13. Tol (talk | contribs) @ 19:29, 15 April 2022 (UTC)

Your bot should not have removed the other rcat at w:Special:Diff/1067980710 and similar. ~~~~
User:1234qwer1234qwer4 (talk)
14:09, 14 February 2022 (UTC)

@1234qwer1234qwer4: Hm; I'm not sure how to deal with preexisting rcats. I could try and add an rcat detector if I run it again. Tol (talk | contribs) @ 15:10, 14 February 2022 (UTC)
I had a regexp to catch (more or less) most ways rcats could be applied and append an rcat to that, but it's quite bodgy and might have bugs, so maybe it's easier to parse the wikicode if done by a bot. ~~~~
User:1234qwer1234qwer4 (talk)
17:02, 14 February 2022 (UTC)
I think it might be better to just add rcats manually to be applied (for example, apply R from other capitalisation for all moves in that batch). Tol (talk | contribs) @ 20:47, 14 February 2022 (UTC)
Depends on what kind of manual you mean; I have tagged all the redirects resulting from that move myself now, but that took quite some time even with JWB. ~~~~
User:1234qwer1234qwer4 (talk)
20:55, 14 February 2022 (UTC)
I mean manual setup of the bot to tag the redirects, not manually following the bot. Tol (talk | contribs) @ 20:56, 14 February 2022 (UTC)
If we're talking about adding this specific rcat (rather than preserving any other ones), couldn't you just have done that while doing the other change? ~~~~
User:1234qwer1234qwer4 (talk)
21:35, 14 February 2022 (UTC)
That's what I'm proposing: if Task 13 is run again, it could also add rcats (and for round-robin moves, would bundle it with the other edit). Tol (talk | contribs) @ 23:06, 14 February 2022 (UTC)

The Task 5 script does not mark the edits as bot and minorEdit

Hi Tol, thank you very much for creating that script! I've used it to update ckb:داڕێژە:COVID-19 data/data, but the script doesn't mark the edits as bot and minor (on ckbwiki project). Can you fix it? Thank you! Aram (talk) 18:04, 14 February 2022 (UTC)

Hi, @Aram! To mark the edits as bot and minor, you can change the edit() function. Specifically, in edit_params, add 'bot': True and 'minor': True. Tol (talk | contribs) @ 20:58, 14 February 2022 (UTC)
Worked! Thank you for the reply and your efforts! Aram (talk) 08:10, 15 February 2022 (UTC)
No problem! Tol (talk | contribs) @ 18:01, 15 February 2022 (UTC)