Manual:$wgEnableCreativeCommonsRdf

From MediaWiki.org

Jump to: navigation, search
Copyright: $wgEnableCreativeCommonsRdf
Toggles RDF metadata
Introduced in version: 1.3.0
Removed in version: still in use
Allowed values: (boolean)
Default value: false

Other settings: Alphabetical | By Function


[edit] Details

Toggles the inclusion of Creative Commons RDF metadata in page output. See RDF Metadata at Metawiki for more information.

In MediaWiki 1.8.2, the source file Skin.php contains function addMetadataLinks() which calls addMetadataLink() to add Creative Commons metadata when $wgEnableCreativeCommonsRdf evaluates true, with title Creative Commons and type application/rdf+xml, containing an embedded URL with query item action=creativecommons.

When MediaWiki serves a page request with query item action=creativecommons present, function wfCreativeCommonsRdf() is called within source file Metadata.php which parses $wgRightsUrl into metadata format.