Jump to content

User:Qwerfjkl/scripts/script manager.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Qwerfjkl (talk | contribs) at 10:31, 27 July 2021 (Created page with '// <nowiki> $.ajax('//tools-static.wmflabs.org/meta/scripts/pathoschild.templatescript.js', { dataType:'script', cache:true }).then(function() { pathoschild.TemplateScript.add([{ name:'Add scriptManager', script: function(editor) { editor .append('== Installation ==\n') .appendEditSummary('Added script installation text using script.') .clickPreview(); } }, ]); }); // </nowiki> // [[Category:Wikiped...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
// <nowiki>
$.ajax('//tools-static.wmflabs.org/meta/scripts/pathoschild.templatescript.js', { dataType:'script', cache:true }).then(function() {
    pathoschild.TemplateScript.add([{
name:'Add scriptManager',
script: function(editor) {
	editor
		.append('== Installation ==\n')
		.appendEditSummary('Added script installation text using [[User:Qwerfjkl/scripts/script install|script]].')
		.clickPreview();
			}
		},
	]);
});

// </nowiki>
// [[Category:Wikipedia scripts]]