r103604 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r103603‎ | r103604 | r103605 >
Date:19:13, 18 November 2011
Author:jeroendedauw
Status:ok
Tags:neilk 
Comment:
Follow up to r103599;
Modified paths:
  • /trunk/extensions/UploadWizard/includes/specials/SpecialUploadWizard.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UploadWizard/includes/specials/SpecialUploadWizard.php
@@ -144,7 +144,7 @@
145145
146146 $defaultLicense = $this->getUser()->getOption( 'upwiz_deflicense' );
147147
148 - if ( $defaultLicense !== 'default' ) {
 148+ if ( $defaultLicense !== 'default' && in_array( $defaultLicense, $config['licensesOwnWork']['licenses'] ) ) {
149149 $config['licensesOwnWork']['defaults'] = array( $defaultLicense );
150150 }
151151

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r103599implemented feature request from bug 24702jeroendedauw15:46, 18 November 2011

Status & tagging log