I'm trying to "skip" the choosing of a license when uploading files and found the following piece of code in the README:
$wgUploadWizardConfig = array( 'licensing' => array( 'ownWorkDefault' => 'own', 'ownWork' => array( 'type' => 'or', 'template' => 'licensing', // this adds a link to Template:Licensing to the file info page 'licenses' => array( 'generic', ) ), ), );
Unfortunately this results in the error above in the javascript-console after choosing an image and clicking on "next".
Using MediaWiki 1.23.13 and Upload Wizard 1.4.0