Jump to content

User:Bility/copySectionLink

From Wikipedia, the free encyclopedia
Code for this script resides at User:Bility/copySectionLink.js

This script adds a hidden pilcrow (¶) after editable section titles. When you mouse-over the section heading, the pilcrow will appear as a link to that section. This can then be used to more easily get copy/pasteable links in the format of Page#Section. Click the pilcrow and copy/paste from your browser's address bar.

Example

[edit]

After "Example" in the section heading above is what will appear when you mouse-over.

Copy/paste

[edit]

Add this to your skin's JavaScript or your common JavaScript:

importScript('User:Bility/copySectionLink.js'); //Linkback: [[User:Bility/copySectionLink.js]]

See also

[edit]