User:Þjarkur/Permalink to section

Permanent link

This script adds a button to talk page headers to find the permanent link pointing to the discussion:

Add this to your common.js file: importScript('User:Þjarkur/Permalink_to_section.js');

[Source]