mic_none

User:Polygnotus/Scripts/SectionLinks Source: en.wikipedia.org/wiki/User:Polygnotus/Scripts/SectionLinks

This script adds icons to each section header that, when clicked, copy a link or a permalink to the clipboard.

SectionLinks
DescriptionAdds icons to each section header that, when clicked, copy a link or a permalink to the clipboard.
Author(s)Polygnotus
UpdatedApril 5, 2025
    (2 months ago)
SourceUser:Polygnotus/Scripts/SectionLinks.js

Installation

[edit]

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.