This page is a translated version of the page Manual:$wgRightsUrl and the translation is 83% complete.
版权: $wgRightsUrl
版权的元数据
引进版本:1.3.0
移除版本:仍在使用
允许的值:未指定
默认值:null

详情

设置此项以表明您的维基上面的内容的许可协议的外部URL。 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.

如果$wgRightsPage 已经设置,那么此变量可忽略。

此变量在很多地方出现,最为显著的两个地方是在:页脚和API输出

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.

示例

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

许可协议

一些可用的URL在此表的URL列中:

许可协议 文件 URL
公有领域(PD) public-domain.png https://creativecommons.org/licenses/publicdomain/deed.zh-hans
知识共享CC0(CC0) cc-0.png https://creativecommons.org/publicdomain/zero/1.0/deed.zh-hans
知识共享署名3.0未本地化(CC BY 3.0) cc-by.png https://creativecommons.org/licenses/by/3.0/deed.zh-hans
知识共享署名-相同方式共享3.0未本地化(CC BY-SA 3.0) cc-by-sa.png https://creativecommons.org/licenses/by-sa/3.0/deed.zh-hans
知识共享署名-非商业性使用3.0未本地化(CC BY-NC-SA 3.0) cc-by-nc-sa.png https://creativecommons.org/licenses/by-nc-sa/3.0/deed.zh-hans
GNU自由文档许可协议(GFDL) gnu-fdl.png https://www.gnu.org/copyleft/fdl.html

参见