Manual:$wgRightsText

From MediaWiki.org
Jump to: navigation, search
Copyright: $wgRightsText
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]

If either $wgRightsUrl or $wgRightsPage is specified then this variable gives the text for the link.

If using $wgRightsUrl then this value must be specified. 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 using $wgRightsPage then the name of the page will also be used as the link if this variable is not set.

Example [edit]

$wgRightsPage = "Project:About";
$wgRightsText = "our special license";

This will render in the footer as:

Content is available under our special license.

The encapsulating text can be changed in MediaWiki:Copyright (message added on 2004-06-08). This message is shown in the footer of the page and is not really supposed to contain valuable info which can't be retrieved elsewhere; it's not easily retrievable via API, so it's a bad idea to put here important info especially if you declare to be using a license.

Licenses [edit]

Some available licenses are listed in 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  • 日本語