Manual:$wgRightsUrl

From MediaWiki.org
Jump to: navigation, search
Copyright: $wgRightsUrl
Override for copyright metadata.
Introduced in version: 1.3.0
Removed in version: still in use
Allowed values:
Default value: null

Other settings: Alphabetical | By Function


Contents

Details [edit]

Set this to specify an external URL containing details about the content license used on your wiki. 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.

If $wgRightsPage is set then this setting is ignored.

This setting is used in several places, most notably to automatically generate the footer (see $wgRightsText for details) and in API:Meta output.

In MediaWiki 1.8.2, it appears that $wgRightsUrl governs portions of the Creative Commons metadata generated within function wfCreativeCommonsRdf() in file Metadata.php regardless of whether $wgRightsPage is set or not.

Example [edit]

$wgRightsUrl = 'http://creativecommons.org/licenses/by-sa/3.0/';

Licenses [edit]

Some available URLs are listed in the URL column of this table:

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

See also [edit]

Language: English  • 日本語