Skip to content

Commit

Permalink
Use messages loaded by UploadWizard for custom license
Browse files Browse the repository at this point in the history
  • Loading branch information
alistair3149 authored Mar 11, 2024
1 parent 45dbdc1 commit 77d4c39
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions config/LocalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,10 @@
'licenses' => array(
# Cloud Imperium license
'rsilicense' => array(
'msg' => 'mwe-upwiz-license-rsi',
# HACK: Add custom license message
# Edit MediaWiki:mwe-upwiz-license-pd-usgov to the text you wanted
'msg' => 'mwe-upwiz-license-pd-usgov',
#'msg' => 'mwe-upwiz-license-rsi',
'templates' => array('RSIlicense')
),
# CC-BY-NC-SA-2.0 required by Flickr
Expand Down Expand Up @@ -603,7 +606,12 @@
'defaults' => 'rsilicense',
'licenseGroups' => array(
array(
'head' => 'mwe-upwiz-license-sc-head',
# Cloud Imperium license
# HACK: Add custom license header
# Edit MediaWiki:mwe-upwiz-license-usgov-head to the text you wanted
# 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' => array(
'rsilicense'
)
Expand Down

0 comments on commit 77d4c39

Please sign in to comment.