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 configif("UploadWizard"===mw.config.get('wgCanonicalSpecialPageName')){mw.loader.using('ext.uploadWizard',function(){try{varautoAdd=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 TemplateautoAdd.wikitext+="{{Supported by Wikimedia Österreich|1="+(newDate()).getFullYear()+"}}";}catch(ex){mw.log("Injecting user-category into UploadWizard failed.",ex);}});}//SVG-Editorif(mw.config.get('wgNamespaceNumber')===6&&/SVG/i.test(mw.config.get('wgTitle').slice(-3)))// SVGedit on SVG files onlyimportScript('User:Rillke/SVGedit.js');