Jump to content

Manual:$wgEnableCreativeCommonsRdf

From mediawiki.org
This page is a translated version of the page Manual:$wgEnableCreativeCommonsRdf and the translation is 38% complete.
著作権: $wgEnableCreativeCommonsRdf
Include Creative Commons licensing information in page output (in RDF format)
導入されたバージョン:1.3.0
除去されたバージョン:1.19.0 (r88873)
許容される値:(真偽値)
既定値:false

詳細

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.