/**
* TemplateScript adds configurable templates and scripts to the sidebar, and adds an example regex editor.
* @see https://meta.wikimedia.org/wiki/TemplateScript
* @update-token [[File:pathoschild/templatescript.js]]
*/
// <nowiki>
$.ajax('//tools-static.wmflabs.org/meta/scripts/pathoschild.templatescript.js', { dataType:'script', cache:true }).then(function() {
pathoschild.TemplateScript.add([
{ name:'no source', template:'{{subst:nsd}}', editSummary:'Possible copyright violation ({{subst:nsd}})' },
{ name:'no license', template:'{{subst:nld}}', editSummary:'Possible copyright violation ({{subst:nld}})' },
{ name:'no license', template:'{{subst:npd}}', editSummary:'Possible copyright violation ({{subst:npd}})' },
{ name:'derivative', template:'{{derivative}}', editSummary:'Possible copyright violation ({{derivative}})' },
{ name:'logo', template:'{{logo}}', editSummary:'Possible copyright violation ({{logo}})' },
{ name:'fair use', template:'{{fair use}}', editSummary:'Possible copyright violation ({{fair use}})' },
{ name:'copyvio', template:'{{copyvio}}', editSummary:'Possible copyright violation ({{copyvio}})' },
{ name:'disputed', template:'{{disputed}}', editSummary:'Disputed licensing ({{disputed}})' },
{ name:'PD-ineligible', template:'{{PD-ineligible}}', editSummary:'This work is not eligible for copyright ({{PD-ineligible}})' },
{ name:'convert to SVG', template:'{{Convert to SVG}}', editSummary:'Convert to SVG' },
{ name:'convert to international', template:'{{convert to international}}', editSummary:'Convert to international' },
]);
});
// </nowiki>