Page MenuHomePhabricator

"tag_excludes" in AutoEdits configuration does not behave as expected
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

  • The edit list contains tools such as RedWarn and Twinkle, which are contained in tag_excludes for the Undo tool at https://meta.wikimedia.org/wiki/MediaWiki:XTools-AutoEdits.json
  • (It is verified by counting pages that the number shown in the "autoedits" tool does align with the number of edits that are displayed with "autoedits-contributions".)

What should have happened instead?:

  • Those edits should have been ignored for the selected tool.

Event Timeline

Thanks for reporting! I'll try to look into this over the coming weeks, but no promises. I'm swamped with other priorities at the moment.

Alien333 changed the task status from Open to In Progress.EditedMay 26 2025, 2:30 PM
Alien333 claimed this task.

We're currently not using tag_excludes, apparently. EDIT: for some things we do, but badly. (NOT IN doesn't work when there's only one, gotta NOT EXISTS SELECT 1 ...)

Thanks @Alien333 for claiming this 😄, hope the fix can be implemented soon.

I'm also correcting the table in autoedits to use tag_excludes too while we're at it, for consistency's sake if nothing else.

There we go: PR #533. Will probably go out in the next deployment or two. Right now the bottleneck to deployment is reviews, as I'm fixing a lot of stuff and MusikAnimal's busy these days. So for the time frame it will be whenever they get the time to review.

@MusikAnimal Could you possibly look into this PR? Thanks! :)

@MusikAnimal Could you tell when will the patch be (auto)deployed?

Thanks for the merge!

Could you tell when will the patch be (auto)deployed?

Normally we should have a new release (and so deployment) in the next few days.

MusikAnimal moved this task from Pending deployment to Complete on the XTools board.