Page MenuHomeMiraheze

Have MirahezeIRC bot ignore several system users in #miraheze-feed
Closed, ResolvedPublic

Description

Request: Following my trying to add the bot flag to the Delete page script system user on trollpastawikiwiki for a mass deletion of some 40,000+ Fandom CommentStreams page remnants, @Reception123 and I learned that MirahezeRC (the SRE-operated IRC feed bot) does not care about the bot flag (at least those of system users, anyway) whereas MirahezeBot does regard the bot/flood flag. However, because #miraheze-feed is what MirahezeBot uses to read for the wiki-specific IRC feeds, delays in #miraheze-feed have cascading downstream impacts. So the request is this for the Infrastructure (SRE) team to have MirahezeRC ignore the following system users from #miraheze-feed:

  1. Delete page script
  2. Maintenance script
  3. Move page script

Thank you.

Event Timeline

Dmehus triaged this task as High priority.May 14 2021, 15:36
Dmehus created this task.
Reception123 lowered the priority of this task from High to Normal.May 14 2021, 15:38

Lowering priority to normal per discussion with @Reception123

Adding @Paladox to this task as he may want to take on this task as it's in one of the Infrastructure-managed repos

MediaWiki decides what to send to the IRC bot, so if the bot flag isn’t being respected, this is a bug in the MediaWiki code that should be fixed rather than modifying the python script to search through an encoded entry to find the user param and compare it.

@Reception123 Can you try running the deleteBatch.php maintenance script, specifying -u Miraheze maintenance script -r [[phab:T7310|Requested]] on the following pages on testwiki?

Avengium test page
Mattias (discipel)1
Micha1
Move test on the run
Move test on the run/some subpage
TestWiki:SYSOP

Note that you may need to force attach Miraheze maintenance script to testwiki as it's a real user account now

Done

Thanks...this worked. So I'm going to close this as resolved, by this workaround. We'll need to update the SRE docs to ensure SRE adds -u Miraheze maintenance script to all relevant maintenance script runs

Dmehus claimed this task.
Dmehus awarded a token.