User:NguoiDungKhongDinhDanh/QuickDiff

From Meta, a Wikimedia project coordination wiki

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.

Installation[edit]

Add the following line to your global.js or local common.js:

mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:NguoiDungKhongDinhDanh/QuickDiff.js&action=raw&ctype=text/javascript');

Caveats[edit]

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".