User:Nardog/CopySectLink
From Wikipedia, the free encyclopedia
This script adds a button that copies the unencoded page title (with spaces, not underscores) or section path (with #) to your clipboard so it can be pasted as a clean wikilink, next to the [edit] link in each heading. If the edit link doesn't exist, it creates its own brackets. You may also copy the full URL by right-clicking the button and selecting your browser's native "Copy link" option.
DescriptionAdds a button to copy the unencoded page title or section path next to each heading
UpdatedDecember 29, 2024
(14 months ago)
(14 months ago)
BrowsersChrome, Firefox, etc.
| Description | Adds a button to copy the unencoded page title or section path next to each heading |
|---|---|
| Updated | December 29, 2024 (14 months ago) |
| Browsers | Chrome, Firefox, etc. |
| Source | User:Nardog/CopySectLink.js |
Installation
Add the following to your common.js or global.js:
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Nardog/CopySectLink.js&action=raw&ctype=text/javascript');
Or you may enable the script installer in Preferences → Gadgets and click "Install" in the infobox on this page.