Updating license choices for installer. CC public domain dedication is deprecated...
authorRyan Kaldari <kaldari@users.mediawiki.org>
Wed, 11 May 2011 00:32:03 +0000 (00:32 +0000)
committerRyan Kaldari <kaldari@users.mediawiki.org>
Wed, 11 May 2011 00:32:03 +0000 (00:32 +0000)
includes/installer/Installer.i18n.php
includes/installer/Installer.php

index ade6322..0d563e2 100644 (file)
@@ -391,11 +391,10 @@ More complex user rights configurations are available after installation, see th
        'config-license'                  => 'Copyright and license:',
        'config-license-none'             => 'No license footer',
        'config-license-cc-by-sa'         => 'Creative Commons Attribution Share Alike',
+       'config-license-cc-by'            => 'Creative Commons Attribution',
        'config-license-cc-by-nc-sa'      => 'Creative Commons Attribution Non-Commercial Share Alike',
-       'config-license-cc-0'             => 'Creative Commons Zero',
-       'config-license-gfdl-old'         => 'GNU Free Documentation License 1.2',
-       'config-license-gfdl-current'     => 'GNU Free Documentation License 1.3 or later',
-       'config-license-pd'               => 'Public Domain',
+       'config-license-cc-0'             => 'Creative Commons Zero (Public Domain)',
+       'config-license-gfdl'             => 'GNU Free Documentation License 1.3 or later',
        'config-license-cc-choose'        => 'Select a custom Creative Commons license',
        'config-license-help'             => "Many public wikis put all contributions under a [http://freedomdefined.org/Definition free license].
 This helps to create a sense of community ownership and encourages long-term contribution.
index 8ece8b9..60fbfa4 100644 (file)
@@ -239,6 +239,10 @@ abstract class Installer {
         * @var array
         */
        public $licenses = array(
+               'cc-by' => array(
+                       'url' => 'http://creativecommons.org/licenses/by/3.0/',
+                       'icon' => '{$wgStylePath}/common/images/cc-by.png',
+               ),
                'cc-by-sa' => array(
                        'url' => 'http://creativecommons.org/licenses/by-sa/3.0/',
                        'icon' => '{$wgStylePath}/common/images/cc-by-sa.png',
@@ -251,15 +255,7 @@ abstract class Installer {
                        'url' => 'https://creativecommons.org/publicdomain/zero/1.0/',
                        'icon' => '{$wgStylePath}/common/images/cc-0.png',
                ),
-               'pd' => array(
-                       'url' => 'http://creativecommons.org/licenses/publicdomain/',
-                       'icon' => '{$wgStylePath}/common/images/public-domain.png',
-               ),
-               'gfdl-old' => array(
-                       'url' => 'http://www.gnu.org/licenses/old-licenses/fdl-1.2.html',
-                       'icon' => '{$wgStylePath}/common/images/gnu-fdl.png',
-               ),
-               'gfdl-current' => array(
+               'gfdl' => array(
                        'url' => 'http://www.gnu.org/copyleft/fdl.html',
                        'icon' => '{$wgStylePath}/common/images/gnu-fdl.png',
                ),