Jump to content

Wikipedia talk:Bot activity monitor

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

Notifications

[edit]

I haven't been following this too closely, but I've heard that notifications are coming. Is this implemented and if so how do I sign up. I would appreciate not having to worry abut PearBOT going down without it being noticed again. --Trialpears (talk) 13:44, 10 June 2021 (UTC)[reply]

@Trialpears: Yes. This was implemented. You can add |notify=Trialpears parameter to the {{/task}} template that defines the bot task on Wikipedia:Bot activity monitor/Configurations. You'll get a talk page message similar to this. (Or for less intrusive notifications, you set up a talk page for the bot, watchlist it, then use |notify=PearBOT). – SD0001 (talk) 15:59, 15 June 2021 (UTC)[reply]

mediawiki deprecation 10/7

[edit]

FTR: https://www.mediawiki.org/wiki/MediaWiki_1.37/Deprecation_of_legacy_API_token_parameters —¿philoserf? (talk) 02:03, 14 October 2021 (UTC)[reply]

FireflyBot

[edit]

@SD0001: Do you know why FireflyBot is listed as "Not seen in more than 6 months" even though the bot is still running? * Pppery * it has begun... 21:10, 14 October 2021 (UTC)[reply]

@Pppery it's an issue with piped link. This was the only summary_regex on the page with a piped link - and it's complicated. We can't just use [[WP:G13|CSD G13]] because the pipe character changes the meaning of the regex.
If we escape it as \[\[WP:G13\|CSD G13\]\] then the template parser (both MediaWiki's and the bot's) will think the summary_regex ended when the | is encountered.
If we escape it as [[WP:G13{{!}}CSD G13]] the template parsing will work but then the regex matching will obviously fail.
Using [[WP:G13\|CSD G13]] will I think work for the bot, but it will cause a red link to oddly show up on the configs page.
So for now I changed the summary_regex to not use a piped link. – SD0001 (talk) 06:12, 15 October 2021 (UTC)[reply]

Bot activity monitor config

[edit]

Hi! I think I screwed up my bot activity monitor config for the task "Notify users of DYK nominations"... the bot made this edit with a summary matching the one I specified, I think, but it still says the bot hasn't edited for that task in six months. I'm doing something wrong, but I don't know what. Enterprisey (talk!) 06:53, 23 October 2021 (UTC)[reply]

@Enterprisey see the section above. It's the infamous piped link problem. As of now, the only solution is to write the summary_regex without including a piped link. – SD0001 (talk) 07:30, 23 October 2021 (UTC)[reply]
Oh... Facepalm Facepalm Enterprisey (talk!) 07:34, 23 October 2021 (UTC)[reply]

Anchor

[edit]

Would it be possible to have anchors (like something with the HTML id "EnterpriseyBot") on the first task of a bot's name? I'd like to link to the part of the table with my bot's tasks. (Or otherwise have a convenient place that shows just my bot's tasks - I think an anchor would be the easiest way to do that, though.) Enterprisey (talk!) 22:12, 24 October 2021 (UTC)[reply]

@Enterprisey I hacked up a quick lua script that I think is more fitting for the usecase:
{{#invoke:Sandbox/SD0001/BAMSection|main|EnterpriseyBot}}:
Bot Task Status
EnterpriseyBot Notify users of DYK nominations ☒N 0 actions in last 2 weeks, expected at least 1. Not seen in more than 2 years.
EnterpriseyBot Update {{Defcon}} checkY
EnterpriseyBot Archive WP:GO ☒N 0 actions in last 1 week, expected at least 1. Last seen 3 March 2024
EnterpriseyBot Update WiR CSD report ☒N 0 actions in last 1 week, expected at least 1. Not seen in more than 2 years.
EnterpriseyBot Update WikiProject banners for redirects ☒N 0 actions in last 1 day, expected at least 1. Last seen 16 February 2024
SD0001 (talk) 13:04, 25 October 2021 (UTC)[reply]
Ooooh! That's magical. Thanks! Enterprisey (talk!) 21:23, 25 October 2021 (UTC)[reply]

Bots from other languages

[edit]

Nice tool. I was asked by a moderator to help him with a bot @Catabot, I'm trying to see if it is active and I wonder if it is possible to add it here and track changes in Wikipedia in Catalan. I don't see as much information there about that bot and how it works, where the code is and I am interested... Thanks! Dròpol (talk) 21:57, 11 December 2023 (UTC)[reply]

The bot only tracks changes made on this wiki. You could set up a similar bot for another wiki – though SDZeroBot code is a monorepo shared with other bot tasks' code – most of it is in https://github.com/siddharthvp/SDZeroBot/tree/master/bot-monitor. – SD0001 (talk) 17:49, 12 December 2023 (UTC)[reply]