Description | Hide reverted edits from page history |
---|---|
Author(s) | SD0001 |
Updated | October 6, 2021 (3 years ago) |
Browsers | Modern browsers (IE not supported) |
Skins |
|
Source | User:SD0001/hide-reverted-edits.js |
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
editIf 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]]