User:Rublov/diff-link

From Wikipedia, the free encyclopedia
diff-link
DescriptionCopy diff links on history and contributions pages with one click
Author(s)User:Rublov
UpdatedJune 1, 2021; 2 years ago (2021-06-01)
SourceUser:Rublov/diff-link.js
GitHub repositoryscripts

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[edit]

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' );