Currently all uploads made by UploadWizard have the same revision comment: "User created page with UploadWizard". Let's make this slightly more informative...
The code that sets the comment can be found in mw.UploadWizardDetails.submitWikiText().
- For uploads with an "ownwork" deed (i.e. uploaded by the creator), please set the comment to 'Uploaded own work with UploadWizard'.
- For uploads that are not ownwork, please set the comment to 'Uploaded a work by ' + author + ' from ' + source + ' with UploadWizard'.
To get the author and source, you can do something similar to:
deed = this.upload.deedChooser.deed; author = deed.getAuthorWikiText( this.upload ); source = deed.getSourceWikiText( this.upload );