r95523 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95522‎ | r95523 | r95524 >
Date:21:18, 25 August 2011
Author:neilk
Status:deferred (Comments)
Tags:
Comment:
merged r95510 from trunk
Modified paths:
  • /branches/uploadwizard-deployment2/extensions/UploadWizard/includes/specials/SpecialUploadCampaign.php (modified) (history)

Diff [purge]

Index: branches/uploadwizard-deployment2/extensions/UploadWizard/includes/specials/SpecialUploadCampaign.php
@@ -81,6 +81,13 @@
8282 $fields['Campaignname'] = array ( 'type' => 'text', 'default' => $this->subPage, 'label-message' => 'mwe-upwiz-campaign-name' );
8383 $fields['Campaignenabled'] = array ( 'type' => 'check', 'default' => $enabled, 'label-message' => 'mwe-upwiz-campaign-enabled' );
8484
 85+ // show _ALL_ the licenses!
 86+ $standardConfig = UploadWizardConfig::getConfig();
 87+ foreach ( $standardConfig['licenses'] as $key => $license ) {
 88+ $configFields['licensesOwnWork']['options'][ wfMsg( $license['msg'] ) ] = $key;
 89+ $configFields['defaultOwnWorkLicence']['options'][ wfMsg( $license['msg'] ) ] = $key;
 90+ }
 91+
8592 foreach ( $configFields as $name => $data ) {
8693 $data['label-message'] = 'mwe-upwiz-campaign-conf-' . $name;
8794

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r95510show all the possible licenses when configuring a campaignneilk20:24, 25 August 2011

Comments

#Comment by NeilK (talk | contribs)   21:21, 25 August 2011

Marking this okay since the merged rev r95510 is okayed.

#Comment by NeilK (talk | contribs)   21:21, 25 August 2011

eh, never mind...

Status & tagging log