Jump to content

Руководство:$wgRightsUrl

From mediawiki.org
This page is a translated version of the page Manual:$wgRightsUrl and the translation is 75% 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 , этот параметр игнорируется.

This setting is used in several places, most notably to automatically generate the footer (see $wgRightsText for details) and in API:Meta output.

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-адрес
Общественное достояние (ОД) public-domain.png https://creativecommons.org/licenses/publicdomain/list.ru
Creative Commons 0 (CC0) cc-0.png https://creativecommons.org/publicdomain/zero/1.0/deed.ru
Creative Commons Attribution 3.0 Unported (CC BY 3.0) cc-by.png https://creativecommons.org/licenses/by/3.0/deed.ru
Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) cc-by-sa.png https://creativecommons.org/licenses/by-sa/3.0/deed.ru
Creative Commons Attribution-NonCommercial 3.0 Unported (CC BY-NC-SA 3.0) cc-by-nc-sa.png https://creativecommons.org/licenses/by-nc-sa/3.0/deed.ru
GNU Free Documentation License (GFDL) gnu-fdl.png https://www.gnu.org/copyleft/fdl.html

См. также