Manuaali:$wgRightsIcon

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgRightsIcon and the translation is 36% complete.

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎català • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎suomi • ‎日本語
Copyright: $wgRightsIcon
Override for copyright metadata.
Introduced in version:1.3.0
Removed in version:still in use
Allowed values:Unspecified
Default value:null
Other settings: Alphabetical | By function

Yksityiskohdat

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: 1.24
$wgRightsIcon = "$wgScriptPath/resources/assets/licenses/cc-by-sa.png";
MediaWiki version: 1.23
$wgRightsIcon = "$wgStylePath/common/images/cc-by-sa.png";

Lisenssit

The icons available by default are listed in the File column of this table:

Lisenssi File URL
Public domain (PD) public-domain.png https://creativecommons.org/licenses/publicdomain/deed.fi
Creative Commons 0 (CC0) cc-0.png https://creativecommons.org/publicdomain/zero/1.0/deed.fi
Creative Commons Attribution 3.0 Unported (CC BY 3.0) cc-by.png https://creativecommons.org/licenses/by/3.0/deed.fi
Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) cc-by-sa.png https://creativecommons.org/licenses/by-sa/3.0/deed.fi
Creative Commons Attribution-NonCommercial 3.0 Unported (CC BY-NC-SA 3.0) cc-by-nc-sa.png https://creativecommons.org/licenses/by-nc-sa/3.0/deed.fi
GNU Free Documentation License (GFDL) gnu-fdl.png https://www.gnu.org/copyleft/fdl.html

Katso myös