Skip to content

Commit

Permalink
Set default option for UW
Browse files Browse the repository at this point in the history
  • Loading branch information
alistair3149 committed Jan 8, 2025
1 parent 9428c39 commit 7d78945
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions config/LocalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -1076,6 +1076,16 @@
],
// License selection page
'licensing' => [
'ownWork' => [
'type' => 'or',
'template' => 'self',
'defaults' => [ 'cc-by-sa-4.0' ],
'licenses' => [
'cc-by-sa-4.0',
'cc-by-4.0',
'cc-zero',
]
],
'thirdParty' => [
'type' => 'or',
'defaults' => 'rsilicense',
Expand All @@ -1087,21 +1097,17 @@
// We have to use this because this message is loaded by UploadWizard and we don't use it
'head' => 'mwe-upwiz-license-usgov-head',
// 'head' => 'mwe-upwiz-license-sc-head',
'licenses' => [
'rsilicense',
],
'defaults' => [ 'rsilicense' ],
'licenses' => [ 'rsilicense', ],
],
[
// This should be a list of all CC licenses we can reasonably expect to find around the web
'head' => 'mwe-upwiz-license-cc-head',
'subhead' => 'mwe-upwiz-license-cc-subhead',
'defaults' => [ 'cc-by-sa-4.0' ],
'licenses' => [
'cc-by-sa-4.0',
'cc-by-sa-3.0',
'cc-by-sa-2.5',
'cc-by-4.0',
'cc-by-3.0',
'cc-by-2.5',
'cc-zero',
],
],
Expand All @@ -1119,11 +1125,13 @@
[
'head' => 'mwe-upwiz-license-custom-head',
'special' => 'custom',
'defaults' => [ 'custom' ],
'licenses' => [ 'custom' ],
],
[
'head' => 'mwe-upwiz-license-none-head',
'licenses' => [ 'none' ]
'defaults' => [ 'none' ],
'licenses' => [ 'none' ],
],
],
],
Expand Down

0 comments on commit 7d78945

Please sign in to comment.