Jump to content

Community Wishlist Survey 2022/Watchlists/Hide reverted edits

From Meta, a Wikimedia project coordination wiki

Hide reverted edits

Clicking on "2 changes" shows an empty diff.
  • Proposed solution: Add an option to hide sets of edits that collectively produce an empty diff. Such a set commonly includes one or more edits by a vandal and a rollback edit.
  • Who would benefit: Editors with many pages on their watchlists. My watchlist contains over 700 pages so hiding the edits that don't require my attention would be a huge help.
  • More comments: As a workaround, I configured my browser to run following JavaScript snippet every time I open my watchlist:
[...document.querySelectorAll(".mw-tag-mw-reverted .mw-plusminus-null")].forEach(
  (el) => { el.parentNode.parentNode.parentNode.parentNode.style.display = "none" }
This serves me well but is brittle and clearly not a solution for everyone.