User:Shahadat/PermaLinkSection
Jump to navigation
Jump to search
![]() | |
Description | Permanent links include section targets |
---|---|
Status | Stable |
First released | August 6, 2019 |
Version | 1.0 |
Updated | 04:25, 7 August 2023 (UTC) |
Skin support | Vector |
Source | User:Shahadat/PermaLinkSection.js |
When clicking "Permanent link", if the user is already at a specific anchor or section on the page, that anchor or section is linked to in the permanent link, rather than the top of the page.
- Importation
This script can be imported to skin.js or common.js by adding:
importScript( 'User:Shahadat/PermaLinkSection.js' );// [[User:Shahadat/PermaLinkSection.js]]
or
{{subst:Iusc|User:Shahadat/PermaLinkSection.js}}
Script Attribution
![]() | This script was manually imported from Wikipedia in compliance with their CC-BY-SA license. This script is utilized either partially or in full, incorporating corrections, modifications, or imported from the original script. For details regarding the original script and its creator, please refer to the following link: https://en.wikipedia.org/wiki/User:DannyS712/PermaLinkSection |