Manual:$wgAjaxLicensePreview/en

Details
Users can preview the licenses on Special:Upload before uploading media to the wiki. This setting is on by default and applies only if MediaWiki:Licenses has been created.