User:Geniac/IMDbtitle.js

pathoschild.TemplateScript.add({	name:'IMDbtitle',		script: function(editor) {		const textlink = '\[https:\/\/www.imdb.com\/title\/tt';		const closing = '}}';		editor			.replace(textlink, '{{IMDb title|')			.appendEditSummary('templated IMDb title link')			.clickDiff;	} });