Page MenuHomePhabricator

When filtering for edits with high Revert Risk, Recent Changes shouldn't display edits from non-main namespaces
Closed, ResolvedPublic3 Estimated Story Points

Description

The Revert Risk machine learning models only support the main (article) namespace on Wikipedia. Currently, when filtering for high revert risk edits using the Recent Changes filter, some edits to non-main namespaces are displayed:

image.png (856×1 px, 401 KB)

Event Timeline

Dillon set the point value for this task to 3.Nov 25 2025, 3:22 PM
Dillon moved this task from To be estimated to Estimated on the Moderator-Tools-Team board.

This will presumably impact the 'Recent activity' personal dashboard module - unless we do additional filtering - so we should probably prioritise this for our MVP.

Change #1224813 had a related patch set uploaded (by Kgraessle; author: Kgraessle):

[mediawiki/extensions/ORES@master] When filtering for edits with high Revert Risk, Recent Changes shouldn't display edits from non-main namespaces

https://gerrit.wikimedia.org/r/1224813

Change #1224814 had a related patch set uploaded (by Kgraessle; author: Kgraessle):

[operations/mediawiki-config@master] When filtering for edits with high Revert Risk, Recent Changes shouldn't display edits from non-main namespaces

https://gerrit.wikimedia.org/r/1224814

jsn.sherman subscribed.

+2ed the ORES patch and scheduled the config patch for backport later today

Change #1224813 merged by jenkins-bot:

[mediawiki/extensions/ORES@master] When filtering for edits with high Revert Risk, Recent Changes shouldn't display edits from non-main namespaces

https://gerrit.wikimedia.org/r/1224813

Change #1224814 merged by jenkins-bot:

[operations/mediawiki-config@master] When filtering for edits with high Revert Risk, Recent Changes shouldn't display edits from non-main namespaces

https://gerrit.wikimedia.org/r/1224814

Mentioned in SAL (#wikimedia-operations) [2026-01-22T21:04:57Z] <jsn@deploy2002> Started scap sync-world: Backport for [[gerrit:1224814|When filtering for edits with high Revert Risk, Recent Changes shouldn't display edits from non-main namespaces (T404200)]]

Mentioned in SAL (#wikimedia-operations) [2026-01-22T21:06:54Z] <jsn@deploy2002> kgraessle, jsn: Backport for [[gerrit:1224814|When filtering for edits with high Revert Risk, Recent Changes shouldn't display edits from non-main namespaces (T404200)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-01-22T21:18:02Z] <jsn@deploy2002> Finished scap sync-world: Backport for [[gerrit:1224814|When filtering for edits with high Revert Risk, Recent Changes shouldn't display edits from non-main namespaces (T404200)]] (duration: 13m 05s)

okay the ores namespace config patch has been backported

I just did some *almost* blanking on testwiki Sandbox pages; edits like that from before the change show up in rc; edits from after don't get scored
https://test.wikipedia.org/wiki/Special:RecentChanges?revertrisklanguageagnostic=all&hidebots=1&translations=filter&hidecategorization=1&hideWikibase=1&hideWikifunctions=1&namespace=0&invert=1&limit=50&days=7&urlversion=2

Screenshot 2026-01-22 at 15-18-26 Recent changes - Test Wikipedia.png (1×1 px, 485 KB)

We'll keep this open until we can QA the rc filter patch after the next train

Scardenasmolinar moved this task from QA to Done on the Moderator-Tools-Team (Kanban) board.
Scardenasmolinar subscribed.

Tested live on trwiki and no non-main namespace articles show up.

Screenshot 2026-01-28 at 12.36.50.png (464×1 px, 57 KB)