Manual:$wgRightsIcon/en
From Linux Web Expert
<translate> Copyright</translate>: $wgRightsIcon | |
---|---|
Override for copyright metadata. |
|
<translate> Introduced in version:</translate> | 1.3.0 |
<translate> Removed in version:</translate> | <translate> still in use</translate> |
<translate> Allowed values:</translate> | <translate> Unspecified</translate> |
<translate> Default value:</translate> | null |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Details
Override for copyright metadata. It's set at install time by the installer, either from its own predefined list or from the data returned from the Creative Commons license chooser. Generally it will be of the form:
MediaWiki version: | <translate> ≥</translate> 1.24 |
$wgRightsIcon = "$wgScriptPath/resources/assets/licenses/cc-by-sa.png";
<translate> ≤</translate> 1.23
MediaWiki version: |
$wgRightsIcon = "$wgStylePath/common/images/cc-by-sa.png";
Licenses
The icons available by default are listed in the File column of this table:
<translate> License</translate> | <translate> File</translate> | <translate> URL</translate> |
---|---|---|
<translate> Public domain (PD)</translate> | public-domain.png | https://creativecommons.org/licenses/publicdomain/ |
<translate> Creative Commons 0 (CC0)</translate> | cc-0.png | https://creativecommons.org/publicdomain/zero/1.0/ |
<translate> Creative Commons Attribution 3.0 Unported (CC BY 3.0)</translate> | cc-by.png | https://creativecommons.org/licenses/by/3.0/ |
<translate> Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)</translate> | cc-by-sa.png | https://creativecommons.org/licenses/by-sa/3.0/ |
<translate> Creative Commons Attribution-NonCommercial 3.0 Unported (CC BY-NC-SA 3.0)</translate> | cc-by-nc-sa.png | https://creativecommons.org/licenses/by-nc-sa/3.0/ |
<translate> GNU Free Documentation License (GFDL)</translate> | gnu-fdl.png | https://www.gnu.org/copyleft/fdl.html |
See also
- $wgRightsPage
- $wgRightsUrl
- $wgRightsText
- $wgFooterIcons - can be set to hide the rights icon.
- Extension:PerPageLicense — An extension that enables license footer variables (i.e.
$wgRightsIcon
,$wgRightsUrl
, and$wgRightsText
) to be set on a per-namespace or per-page basis.