Manual:$wgEnableCreativeCommonsRdf

From MediaWiki.org
Jump to: navigation, search
This page is a translated version of the page Manual:$wgEnableCreativeCommonsRdf and the translation is 44% complete.

Other languages:
English • ‎日本語 • ‎polski
Copyright: $wgEnableCreativeCommonsRdf
Include Creative Commons licensing information in page output (in RDF format)
導入されたバージョン: 1.3.0
除去されたバージョン: 1.19.0 (r88873)
可能な値: 真偽値
既定値: false
他の設定: アルファベット順 | 機能順

詳細[edit]

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.

関連項目[edit]