Index: includes/specials/SpecialUpload.php =================================================================== --- includes/specials/SpecialUpload.php (revision 65338) +++ includes/specials/SpecialUpload.php (working copy) @@ -908,17 +908,19 @@ 'EditTools' => array( 'type' => 'edittools', 'section' => 'description', - ), - 'License' => array( + ) + ); + + if ( $this->mForReUpload ) { + $descriptor['DestFile']['readonly'] = true; + } else { + $descriptor['License'] = array( 'type' => 'select', 'class' => 'Licenses', 'section' => 'description', 'id' => 'wpLicense', 'label-message' => 'license', - ), - ); - if ( $this->mForReUpload ) { - $descriptor['DestFile']['readonly'] = true; + ); } global $wgUseCopyrightUpload;