jenkins-bot has submitted this change and it was merged.

Change subject: Verify license tags for custom license in Commons' UploadWizard
......................................................................


Verify license tags for custom license in Commons' UploadWizard

On the "Release rights" step, the user may select
"This file is not my own work" / "Another reason not mentioned above"
to be able to just type in the wikitext describing the license.

Previously this was a free-form field; now we will verify
that the typed text contains a template which transcludes
{{License template tag}}, and disallow anything that does not.

Bug: T140903
Change-Id: I366699f86e9be3a907a52919b085df7f4cf6b3ab
---
M wmf-config/CommonSettings.php
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Zfilipin: Looks good to me, approved
  Matthias Mullie: Looks good to me, but someone else must approve
  Dereckson: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index ee91d89..d4ee3cb 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -1997,6 +1997,7 @@
                $wgUploadWizardConfig['feedbackPage'] = 
'Commons:Upload_Wizard_feedback'; # Set by neilk, 2011-11-01, per erik
                $wgUploadWizardConfig["missingCategoriesWikiText"] = 
"{{subst:unc}}";
                $wgUploadWizardConfig['flickrBlacklistPage'] = 
'User:FlickreviewR/bad-authors';
+               $wgUploadWizardConfig['customLicenseTemplate'] = 
'Template:License_template_tag';
        }
 }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/318518
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I366699f86e9be3a907a52919b085df7f4cf6b3ab
Gerrit-PatchSet: 3
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewoński <matma....@gmail.com>
Gerrit-Reviewer: Bartosz Dziewoński <matma....@gmail.com>
Gerrit-Reviewer: Dereckson <dereck...@espace-win.org>
Gerrit-Reviewer: Florianschmidtwelzow <florian.schmidt.stargatewis...@gmail.com>
Gerrit-Reviewer: Matthias Mullie <mmul...@wikimedia.org>
Gerrit-Reviewer: Zfilipin <zfili...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to