User:Nixinova/namespace-shortcuts.js

$(function { var regex;  if (location.pathname.match(regex = /^\/T:/i)) location.pathname = location.pathname.replace(regex, 'Template:'); });