User:Rublov/diff-link
{{Infobox user script
| desc = Copy diff links on history and contributions pages with one click
| author = User:Rublov
| updated = {{start date and age|2021|06|01}}
| source = User:Rublov/diff-link.js
| github = rublovwiki/scripts
}}
A user script to show "copy" links on history and contributions pages that copy an internal link to the diff (e.g., Special:Diff/1026402230) to your clipboard when clicked. Inspired by User:Enterprisey/diff-permalink and User:BrandonXLF/ShowRevisionID.
Installation
If you have ScriptInstaller, simply click the "Install" button here or on User:Rublov/diff-link.js.
To install it manually, add the following line to Special:MyPage/common.js:
importScript( 'User:Rublov/diff-link.js' );