Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\CopyrightMessageBuilder Class Reference

Public Member Functions

 build ( $rightsUrl, $rightsText, Language $language, $saveMessageKey='wikibase-save')
 Returns an appropriate copyright message containing a link to the wiki's copyright policy.
 

Private Member Functions

 renderSaveMessage (Language $language, $key)
 
 renderCopyrightPageMessage ()
 

Detailed Description

Author
Daniel Werner
Katie Filbert < aude..nosp@m.wiki.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >

Member Function Documentation

◆ 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$saveMessageKeydefaults to 'wikibase-save'
Returns
Message

◆ renderCopyrightPageMessage()

Wikibase\Repo\CopyrightMessageBuilder::renderCopyrightPageMessage ( )
private
Returns
string Plain text

◆ 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: