Open main menu

Manual:$wgRightsUrl


Other languages:
English • ‎Nederlands • ‎español • ‎magyar • ‎polski • ‎中文 • ‎日本語
Copyright: $wgRightsUrl
Override for copyright metadata.
Introduced in version:1.3.0
Removed in version:still in use
Allowed values:Unspecified
Default value:null

Contents

DetailsEdit

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.

ExampleEdit

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


LicensesEdit

See alsoEdit