User:Equazcion/LiveDiffLink

From wikishia
This is the documentation page for the LiveDiffLink.js user script.

LiveDiffLink adds a live-generated diff link next to each "Compare" button on History pages that updates dynamically every time you switch selected revisions. A shortened diff link is also added dynamically in each chosen revision line, so you don't have to scroll all the way to the top or bottom of the page to click/copy the link.

  • Allows easy grabbing of diff links without ever having to load a diff page.
  • Allows you to load diffs in new tabs by middle-clicking the link (in most tabbed browsers).
File:LiveDiffLink script screenshot.png
The script in action. Note the short inline diff link also shown in each revision line, to provide another easy click/copy point.

To use this script: Copy the line below, then click here, paste the line, and hit the save button.

importScript('User:Equazcion/LiveDiffLink.js'); //Linkback: [[User:Equazcion/LiveDiffLink]]