User:SD0001/hide-reverted-edits

hide-reverted-edits
DescriptionHide reverted edits from page history
Author(s)SD0001
UpdatedOctober 6, 2021
    (3 years ago)
BrowsersModern browsers (IE not supported)
Skins
  • Vector
  • Monobook
  • Modern
  • Cologne Blue
  • Timeless
  • MinervaNeue
SourceUser:SD0001/hide-reverted-edits.js

Shows a Hide reverted edits next to the Compare selected revisions button. Edits that were reverted, or are reverts themselves are hidden upon clicking, so that you can actually focus on how the article evolved over time.

The script recognizes reverts made by all the standard tools such as Twinkle, Huggle, STiki, native MediaWiki undos and rollbacks, and reverts done by ClueBot and XLinkBot. Undos are hidden only if the they begin with the default edit summary and change in byte count is complementary.

NOTE: This script only hides intentional reverts. Hence it does not take into account the newly introduced "Reverted" and "Manual revert" change tags, as they get frequently applied when the "revert" is merely accidental.

Installation

edit

If you have the script-installer gadget, just click on the "Install" button in the infobox.

Otherwise, add the line

importScript('User:SD0001/hide-reverted-edits.js'); // [[User:SD0001/hide-reverted-edits.js]]

on your common.js or skin.js page.

See also

edit