MediaWiki:Gadget-ShortLink.js

addOnloadHook(function{ //remove title from permalink var pLink = document.getElementById('t-permalink')  if (pLink) pLink.firstChild.href = pLink.firstChild.href.replace(/title=[^&]*&/,'') });