Manual:$wgRightsText

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

Other languages:
English • ‎日本語 • ‎polski
Copyright: $wgRightsText
Override for copyright metadata.
導入されたバージョン: 1.3.0
除去されたバージョン: 使用中
可能な値:
既定値: NULL
他の設定: アルファベット順 | 機能順

詳細

If either $wgRightsUrlManual:$wgRightsUrl or $wgRightsPageManual:$wgRightsPage is specified then this variable gives the text for the link.

If using $wgRightsUrlManual:$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 $wgRightsPageManual:$wgRightsPage then the name of the page will also be used as the link if this variable is not set.

If you further want to remove the default copyright text, blank MediaWiki:Copyrightwarning if $wgRightsText is set, or MediaWiki:Copyrightwarning2 otherwise.

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

This will render in the footer as:

特に記載がない限り、内容はour special licenseのライセンスで利用できます。

The encapsulating text can be changed in MediaWiki:Copyright (message added on 2004-06-08). This message is shown in the footer of the page and is not really supposed to contain valuable info which can't be retrieved elsewhere. It's not easily retrievable via API, so it's a bad idea to put here important info especially if you declare to be using a license.

If you add additional links or formatting to $wgRightsText, this has to be done using wiki code, additionally you have to add the same content using HTML code to MediaWiki:Copyright. Please be aware that the <noinclude> tags don't work and everything will be displayed / transcluded.

ライセンス

Some available licenses are listed in this table:

ライセンスManual:$wgRightsText ファイルManual:$wgRightsIcon URLManual:$wgRightsUrl
パブリック ドメイン (PD) public-domain.png https://creativecommons.org/licenses/publicdomain/deed.ja
クリエイティブ・コモンズ 0 (CC0) cc-0.png http://creativecommons.org/publicdomain/zero/1.0/deed.ja
クリエイティブ・コモンズ 表示 3.0 非移植 (CC BY 3.0) cc-by.png https://creativecommons.org/licenses/by/3.0/deed.ja
クリエイティブ・コモンズ 表示-継承 3.0 非移植 (CC BY-SA 3.0) cc-by-sa.png https://creativecommons.org/licenses/by-sa/3.0/deed.ja
クリエイティブ・コモンズ 表示-非営利-継承 3.0 非移植 (CC BY-NC-SA 3.0) cc-by-nc-sa.png https://creativecommons.org/licenses/by-nc-sa/3.0/deed.ja
GNU Free Documentation License (GFDL) gnu-fdl.png https://www.gnu.org/copyleft/fdl.html

関連項目