Extension:MediaUploader/Configuration/Licensing

Licensing? If you run a public wiki, in most jurisdictions you should worry about copyright, which applies to almost all published works. '''Media Uploader does not force you to obey these rules and it does not advise on how should you handle copyright. Rather, it gives you a tool to tackle this issue comprehensively.'''

After selecting the files to be uploaded, by default Media Uploader will show the user a selection of whether the work is their own or someone else's. Both options come with several licensing options indicating the terms (the license) under which the work can be used. Everything in this step can be customized.

Can I just disable all this?
Yes, you can! Although we advocate for the proper recognition of people's authorship rights, there are cases where you just don't care or don't have to care (such as: internal wikis). In this case, simply disable the licensing step entirely:

section
This section configures what licensing options are visible to the user and how can they select them. There are two "major" options available: the work is authored by the uploader or by someone else.

Whether to enable the licensing step. When false, the step is completely hidden and inaccessible.


 * Default

Default licensing type. Possible values:,  ,   (no preference).


 * Default

Which licensing types should be available to the user. Array, possible values:,.


 * Default

and
Both licensing sections are configured in the exact same way. They can be either a simple list of licenses, or a list of grouped licenses. The latter is especially useful when you have many licenses available and they can be separated into, e.g., free, non-free, etc.

The examples below may be enlightening.

The sections have the following fields:
 * (required) – whether to use radio button-style selection or checkboxes . The latter allows the user to select multiple licenses.
 * – either a license key or an array of license keys that will be selected in this group by default.
 * An array of license keys is valid only for the  type license selection.
 * – wikitext that wraps the wikitext of one license.  will be substituted for license's wikitext.
 * For example, if you want to wrap all licenses in the  section in the   template, you would set this field to.
 * The default value is.

The following options can be used either on the entire licensing section ( or  ) when using a simple list of licenses or on a license group:
 * – license keys to be available to the user. The keys must correspond to valid licenses from the licenses section.
 * Note: although the  section may be changed in campaigns, the   one cannot. Thus, if your campaign uses a custom license, you must define it in the global config.
 * – if the user selected multiple licenses, this string will be used for joining them.
 * This could be used for, for example, the pipe symbol in multi-argument templates.
 * The default value is a single space character.
 * – wikitext that wraps the entire list of licenses (after wrapping each in  and joining them with  ).   will be substituted for the list of licenses. $2 is the number of licenses that are being wrapped.
 * The default value is.

The following options can only be used in a license group:
 * (required) – message for the heading of the license group
 * – message for the subheading of the license group (gray text under the heading)
 * When using custom heads and subheads in campaigns, see also the additionalMessages section
 * – when set to, changes the group's behavior to include a text field for free-form license input. This can only be used on groups with one license (see example below).


 * Default (ownWork) – simple list of licenses


 * Default (thirdParty) – license groups

A list of licenses you could possibly use elsewhere, for instance in  or. It just describes what licenses go with what wikitext, and how to display them in a menu of license choices.

Each license in this list has a number of fields:
 * (required) – system message with the name of the license to display in the license list. The message has two arguments:
 * number of works being licensed
 * URL of the license (if set, see below)
 * – an array of icon names to be added after the name of the license in the license list. See the license icons section below.
 * (required) – the wikitext this license will be transformed into when the upload is saved. By default, this is just the name of the license, but if you want, you can put templates here. See also the licensing section, it allows you to wrap this wikitext into more complex stuff.
 * – license URL to be supplied in the license name message's second argument.
 * – when present, it is appended to the license's URL. After it, the user's ISO language code is appended. This can be used to direct users to a localized version of the license's legal code.
 * – system message that appears when the user selects this license in the own work licensing section. The message takes one parameter:
 * number of works being licensed


 * Default

Licenses available by default
For the sake of convenience, Media Uploader comes with several built-in licenses that you can use or modify. Please note that Media Uploader is a piece of PHP code, and not a lawyer, so it is not wise to rely on these legal texts alone. Review the licenses carefully and make sure they make sense in your jurisdiction and for your wiki.


 * Creative Commons – Media Uploader has all popular variations of CC licenses in versions: 2.0, 2.5, 3.0, 4.0. In the license keys below,  signifies any of these versions. So, for example,   is a license that you can use out of the box with Media Uploader.
 * – CC0, releasing the work in the public domain
 * – Attribution
 * – Attribution NonCommercial
 * – Attribution NoDerivatives
 * – Attribution NonCommercial NoDerivatives
 * – Attribution NonCommercial ShareAlike
 * – Attribution ShareAlike
 * Other copyleft licenses
 * – Free Art License
 * – may be used for any purpose, including commercially, if the copyright holder is properly attributed
 * – GNU Free Documentation License
 * – Beerware License
 * – Do What The Fuck You Want To Public License
 * Public domain
 * – the copyright for this work has expired
 * – the work is too simple to be copyrighted
 * Other
 * – all rights reserved
 * – generic statement that the work is acceptable under wiki's terms of use
 * – custom, free-form input by the user
 * – the user doesn't know what is the license

License icons
License icons (such as those used in Creative Commons licenses) can be a helpful visual aid for users to quickly locate what they are looking for. MediaUploader comes with several icons by default (not all are used in the licenses available by default):

You can also add custom icons by defining a custom CSS class on your wiki:

Simply replace NAME with the name of your icon and add a meaningful path to the appropriate file.

An array of additional system messages to be loaded with MediaUploader. This is only useful if your campaigns define custom license groups. MediaUploader has no way of knowing about them when loading the global config, so you will have to list them manually in this setting.


 * Default


 * Example