BetterDiff is a script that enhances the user experience of diffs in most places that include them through the following:
- Adds a "view" link to diffs and diff groups that opens the diff view in an overlay modal. This applies to Special:RecentChanges, Special:Contributions, and page histories and includes the following features:
- Links to the previous and following diffs for a page, relative to the one(s) being currently displayed.
Openbutton to open the diff(s) currently being displayed in a new tab.Copybutton to copy the full URL of the diff(s) currently being displayed.UpandDownbuttons to move to the diff directly above or below the diff(s) currently being displayed in the current list of diffs (i.e., in Special:RecentChanges, Special:Contributions, or a page history), excluding logged actions. Can also be triggered with the keyboard shortcutsAlt + 2andAlt + 3, respectively- Section at the bottom of the modal to display a preview of the currently viewed diff.
- Adds diff links to page creation diffs in Special:RecentChanges, Special:Contributions, and page histories, while also rendering a full diff view of the edit (with a blank page as the "previous revision") instead of the default
(No difference).
Exclusive to users with patrol rights:
- Adds a dropdown and an input field to the Special:RecentChanges filter table to allow for mass patrolling based on user, namespace, or both.
- Allows quickly patrolling edits on normal diff pages and new articles or files with the keyboard shortcut
Alt + 1. (Compatible with MassPatrol) - Add a
Mass patrollink in the quick view modal, below the diff header, to instantly patrol any unpatrolled revision currently displayed.
Installation
Text above can be found here (edit)