Kullanıcı:Nosferatü/common.js

Vikisözlük sitesinden
/**
 * 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:'hoşgeldin', template:'{{subst:hoşgeldin}}--~~~~\n', editSummary:'Vikisöz\'e hoş geldin!' },
		{ name:'düzenle', template:'{{düzenle}}\n', editSummary:'Düzenlenmesi gerekiyor' },
		{ name:'uyarı', template:'{{subst:uyarı}}--~~~~\n', editSummary:'uyarıldı!' },
		{ name:'Sil', template:'{{subst:Sil}}\n', editSummary:'Sil!' }
	]);
});
// </nowiki>