User:SD0001/hide-reverted-edits

Shows a 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
If you have the script-installer gadget, just click on the "Install" button in the infobox.

Otherwise, add the line  on your common.js or skin.js page.