Translations of this page?:

Configuration Setting: license

This setting configures the license under which the content of your wiki can be distributed. The licenses you can choose in this setting are configured in the conf/license.php. By default it contains a list of Creative Commons licenses.

  • Type: String
  • Default: cc-by-nc-sa

You should think a bit about the proper license when you start your wiki, because changing it later may require the consent of all previous contributors to your wiki.

To disable this feature completely, e.g. for a private, internal wiki, just select no license (or set the config option to an empty string).

eg - add this line to your conf/local.php

$conf['license'] = '';

Adding a new license

To avoid problems on upgrading your Wiki later you should not edit the conf/license.php file directly but create a new conf/license.local.php file to add your entries.

The file should look like this:

<?php
$license['license'] = array(
    'name' => 'Full Name of the License',
    'url'  => 'http://example.com/license',
);
?>

Array key license is the short name of the chosen license as it is used in the config setting mentioned above.

For each license an image named like the short name (ending in .gif or .png should be placed in lib/images/license/button (80×15 pixel) and lib/images/license/badge (88×31 pixel).

See also

 
config/license.txt · Last modified: 2010/01/12 10:26 by 80.26.80.215
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate