Extension:LicenceOnUpload

The LicenceOnUpload extension allows adding the licence template by default on Special:Upload.