Page MenuHomePhabricator

(Semi-)automated edits count rollback on Meta incorrectly
Closed, ResolvedPublicBUG REPORT

Description

Steps to reproduce: Open https://xtools.wmflabs.org/articleinfo/meta.wikimedia.org/Talk:Wikimedia_Foundation_Governance_Wiki and go to the last section, (Semi-)automated edits. Compare the rollback statistics with https://meta.wikimedia.org/wiki/Talk:Wikimedia_Foundation_Governance_Wiki?action=history.

Actual results: Only one edit is recognised as rollback, while there are evidently much more in the page history.

Expected results: All rollback edits are counted.

This might be related to the customised MediaWiki:Revertpage, but as the tag mw-rollback is the same, the tool should identify the edits through that.

Event Timeline

MusikAnimal claimed this task.
MusikAnimal moved this task from Page History to Complete on the XTools board.
MusikAnimal subscribed.

So it appears Page History does not go by change tags, and making it do so is a rather significant amount of work. It could also slow down the tool a lot, so much so that I question if we should even attempt it. However, the easy fix is of course to change the metawiki's regex for Rollback, which I've done with https://meta.wikimedia.org/w/index.php?diff=21185359. I'm going to consider this resolved. I'll also add some messaging to the "(Semi-)automated edits" section stating that it is approximate, as it's possible other things that rely on tags are being missed, too. I hope this is satisfactory :)

Thanks for the report!