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


[edit] Details

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.

[edit] Example

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

This will render in the footer as:

Content is available under our special license.

[edit] See also

Language: English  • 日本語
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox