Manual:$wgUploadDialog

The $wgUploadDialog global allows for configuration of the upload dialog (selecting fields to display, modifying the licensing options, and choosing special formatting for the file page which will be created and the upload comment).