User:Polygnotus/Scripts/SectionLinks
Appearance
From Wikipedia, the free encyclopedia
This script adds icons to each section header that, when clicked, copy a link or a permalink to the clipboard.
| Description | Adds icons to each section header that, when clicked, copy a link or a permalink to the clipboard. |
|---|---|
| Author | Polygnotus |
| Updated | October 22, 2025 (13 days ago) |
| Source | User:Polygnotus/Scripts/SectionLinks.js |
Installation
[edit ]Further information: Wikipedia:User scripts § How do you install user scripts?
First install User:Enterprisey/script-installer, then come back to this page and click the giant blue "Install" button in the infobox on the right.
Or install it manually by adding the below code to your Special:MyPage/common.js file:
{{subst:iusc|User:Polygnotus/Scripts/SectionLinks.js}}
Usage
[edit ]Click on the icon to the left for a permalink to that section. Click on the icon to the right for a link to that section.
Functionality
[edit ]- Adds icons that allow you to copy a link or a permalink.
- When viewing a diff it will give you a link to that diff.