Add CC 4.0 license support

Bug: 60199
Change-Id: I1c2fa11960b2031b5dd5c4f85bf6caaa566fd3b8
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/95
This commit is contained in:
Gergő Tisza 2014-01-22 02:05:40 +00:00 committed by Gilles Dubuc
parent 7f67c0934a
commit 2a70725d4e
2 changed files with 6 additions and 0 deletions

View file

@ -50,6 +50,8 @@ $messages['en'] = array(
'multimediaviewer-license-cc-by-sa-2.5' => 'CC BY-SA 2.5', 'multimediaviewer-license-cc-by-sa-2.5' => 'CC BY-SA 2.5',
'multimediaviewer-license-cc-by-3.0' => 'CC BY 3.0', 'multimediaviewer-license-cc-by-3.0' => 'CC BY 3.0',
'multimediaviewer-license-cc-by-sa-3.0' => 'CC BY-SA 3.0', 'multimediaviewer-license-cc-by-sa-3.0' => 'CC BY-SA 3.0',
'multimediaviewer-license-cc-by-4.0' => 'CC BY 4.0',
'multimediaviewer-license-cc-by-sa-4.0' => 'CC BY-SA 4.0',
'multimediaviewer-license-cc-pd' => 'Public Domain', 'multimediaviewer-license-cc-pd' => 'Public Domain',
'multimediaviewer-license-cc-zero' => 'CC 0', 'multimediaviewer-license-cc-zero' => 'CC 0',
'multimediaviewer-license-default' => 'View license', 'multimediaviewer-license-default' => 'View license',
@ -123,6 +125,8 @@ They will usually be derived from the HTML output from wikitext on a file descri
'multimediaviewer-license-cc-by-sa-2.5' => 'Very short label for the Creative Commons Attribution ShareAlike license, version 2.5, used in a link to the file information page that has more licensing information.', 'multimediaviewer-license-cc-by-sa-2.5' => 'Very short label for the Creative Commons Attribution ShareAlike license, version 2.5, used in a link to the file information page that has more licensing information.',
'multimediaviewer-license-cc-by-3.0' => 'Very short label for the Creative Commons Attribution license, version 3.0, used in a link to the file information page that has more licensing information.', 'multimediaviewer-license-cc-by-3.0' => 'Very short label for the Creative Commons Attribution license, version 3.0, used in a link to the file information page that has more licensing information.',
'multimediaviewer-license-cc-by-sa-3.0' => 'Very short label for the Creative Commons Attribution ShareAlike license, version 3.0, used in a link to the file information page that has more licensing information.', 'multimediaviewer-license-cc-by-sa-3.0' => 'Very short label for the Creative Commons Attribution ShareAlike license, version 3.0, used in a link to the file information page that has more licensing information.',
'multimediaviewer-license-cc-by-4.0' => 'Very short label for the Creative Commons Attribution license, version 4.0, used in a link to the file information page that has more licensing information.',
'multimediaviewer-license-cc-by-sa-4.0' => 'Very short label for the Creative Commons Attribution ShareAlike license, version 4.0, used in a link to the file information page that has more licensing information.',
'multimediaviewer-license-cc-pd' => 'Very short label for the Creative Commons Public Domain license, used in a link to the file information page that has more licensing information. 'multimediaviewer-license-cc-pd' => 'Very short label for the Creative Commons Public Domain license, used in a link to the file information page that has more licensing information.
{{Identical|Public domain}}', {{Identical|Public domain}}',
'multimediaviewer-license-cc-zero' => 'Very short label for the Creative Commons Zero license, used in a link to the file information page that has more licensing information.', 'multimediaviewer-license-cc-zero' => 'Very short label for the Creative Commons Zero license, used in a link to the file information page that has more licensing information.',

View file

@ -279,6 +279,8 @@ $licenses = array(
'cc-by-3.0', 'cc-by-3.0',
'cc-by-sa-3.0', 'cc-by-sa-3.0',
'cc-by-sa-3.0-migrated', 'cc-by-sa-3.0-migrated',
'cc-by-4.0',
'cc-by-sa-4.0',
'cc-pd', 'cc-pd',
'cc-zero', 'cc-zero',
'default', 'default',