Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
// upload wizard config
if ("UploadWizard" === mw.config.get('wgCanonicalSpecialPageName')) {
	mw.loader.using('ext.uploadWizard', function () {
		try {
			var autoAdd = mw.config.get('UploadWizardConfig').autoAdd;
 
			// Add a custom category to all my upload wizard uploads
			//autoAdd.categories.push("Supported by Wikimedia Österreich in 2017");
			// add Template
			autoAdd.wikitext += "{{Supported by Wikimedia Österreich|1="+(new Date()).getFullYear()+"}}";
		} catch (ex) {
			mw.log("Injecting user-category into UploadWizard failed.", ex);
		}
	});
}

//SVG-Editor
if (mw.config.get('wgNamespaceNumber') === 6 && /SVG/i.test(mw.config.get('wgTitle').slice(-3))) // SVGedit on SVG files only
	importScript('User:Rillke/SVGedit.js');