|
| build ( $rightsUrl, $rightsText, Language $language, $saveMessageKey='wikibase-save') |
| Returns an appropriate copyright message containing a link to the wiki's copyright policy. More...
|
|
- Copyright
- GPL-2.0-or-later
- Author
- Daniel Werner
-
Katie Filbert < aude..nosp@m.wiki.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >
◆ build()
Wikibase\Repo\CopyrightMessageBuilder::build |
( |
|
$rightsUrl, |
|
|
|
$rightsText, |
|
|
Language |
$language, |
|
|
|
$saveMessageKey = 'wikibase-save' |
|
) |
| |
Returns an appropriate copyright message containing a link to the wiki's copyright policy.
- Parameters
-
string | $rightsUrl | |
string | $rightsText | |
Language | $language | |
string | $saveMessageKey | defaults to 'wikibase-save' |
- Returns
- Message
◆ renderCopyrightPageMessage()
Wikibase\Repo\CopyrightMessageBuilder::renderCopyrightPageMessage |
( |
| ) |
|
|
private |
◆ renderSaveMessage()
Wikibase\Repo\CopyrightMessageBuilder::renderSaveMessage |
( |
Language |
$language, |
|
|
|
$key |
|
) |
| |
|
private |
- Parameters
-
Language | $language | |
string | $key | |
- Returns
- string Plain text
The documentation for this class was generated from the following file: