Difference between revisions 240020 and 240021 on ptwikibooks

/*


TemplateScript adds a menu of configurable templates and scripts to the sidebar.
For more information, see <https://github.com/Pathoschild/Wikimedia-contrib#readme>.


*/
(contracted; show full)		script: function(context) {
			pathoschild.TemplateScript._LoadDependency('https://raw.github.com/Pathoschild/Wikimedia-contrib/master/pathoschild.regexeditor.js', pathoschild.RegexEditor, function() {
				pathoschild.RegexEditor.Create(context.$target);
			});
		},
		forActions: 'edit'
	});
}());