QuickDiff lets you quickly view any diff link on a wiki, whether on Recent Changes, contribs pages, history pages, the diff view itself, or elsewhere. It was originally written by OneTwoThreeFall at dev.fandom.com. For more information, see its article on Fandom.
Note: This will only work for links to the same wiki you're currently on.
Add the following line to your global.js or local common.js:
Twinkle and RedWarn are incompatible with this script, but only when viewing a diff page directly. QuickDiff will multiply their revert buttons when loading its own diff layer, which the other scripts cannot "catch".