Manual:$wgRightsText/ko
| Copyright: $wgRightsText | |
|---|---|
| Override for copyright metadata. |
|
| 이 변수가 소개된 버전: | 1.3.0 |
| 이 변수가 사라진 버전: | 계속해서 쓰이고 있음 |
| 허용값: | (string) |
| 기본값: | null |
| 기타 설정: 알파벳 순 | 기능별 순 | |
Details
If either $wgRightsUrl or $wgRightsPage is specified then this variable gives the text for the link.
If using $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 $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.
Example
$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) or MediaWiki:Copyright-footer (which replaced it in MediaWiki 1.43+; see also $wgAllowRawHtmlCopyrightMessages).
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 or using wikitext to MediaWiki:Copyright-footer.
Please be aware that the <noinclude> tags don't work and everything will be displayed / transcluded.
Licenses
Some available licenses are listed in this table:
같이 보기
- $wgRightsPage
- $wgRightsUrl
- $wgRightsIcon
- $wgFooterIcons - can be set to hide the rights text.