Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\RestApi\Domain\Model\SitelinkEditSummary Class Reference
+ Inheritance diagram for Wikibase\Repo\RestApi\Domain\Model\SitelinkEditSummary:
+ Collaboration diagram for Wikibase\Repo\RestApi\Domain\Model\SitelinkEditSummary:

Public Member Functions

 getEditAction ()
 
 getUserComment ()
 
 getSitelink ()
 
 hasBadges ()
 
 isBadgesOnly ()
 

Static Public Member Functions

static newAddSummary (?string $userComment, SiteLink $sitelink)
 
static newReplaceSummary (?string $userComment, SiteLink $sitelink, SiteLink $replacedSitelink)
 
static newRemoveSummary (?string $userComment, SiteLink $sitelink)
 

Private Member Functions

 __construct (string $action, ?string $userComment, SiteLink $sitelink, bool $badgesOnly=false)
 

Private Attributes

string $action
 
string $userComment
 
SiteLink $sitelink
 
bool $badgesOnly
 

Additional Inherited Members

- Public Attributes inherited from Wikibase\Repo\RestApi\Domain\Model\EditSummary
const ADD_ACTION = 'add'
 
const PATCH_ACTION = 'patch'
 
const REPLACE_ACTION = 'replace'
 
const REMOVE_ACTION = 'remove'
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Domain\Model\SitelinkEditSummary::__construct ( string $action,
?string $userComment,
SiteLink $sitelink,
bool $badgesOnly = false )
private

Member Function Documentation

◆ getEditAction()

Wikibase\Repo\RestApi\Domain\Model\SitelinkEditSummary::getEditAction ( )

◆ getSitelink()

Wikibase\Repo\RestApi\Domain\Model\SitelinkEditSummary::getSitelink ( )

◆ getUserComment()

Wikibase\Repo\RestApi\Domain\Model\SitelinkEditSummary::getUserComment ( )

◆ hasBadges()

Wikibase\Repo\RestApi\Domain\Model\SitelinkEditSummary::hasBadges ( )

◆ isBadgesOnly()

Wikibase\Repo\RestApi\Domain\Model\SitelinkEditSummary::isBadgesOnly ( )

◆ newAddSummary()

static Wikibase\Repo\RestApi\Domain\Model\SitelinkEditSummary::newAddSummary ( ?string $userComment,
SiteLink $sitelink )
static

◆ newRemoveSummary()

static Wikibase\Repo\RestApi\Domain\Model\SitelinkEditSummary::newRemoveSummary ( ?string $userComment,
SiteLink $sitelink )
static

◆ newReplaceSummary()

static Wikibase\Repo\RestApi\Domain\Model\SitelinkEditSummary::newReplaceSummary ( ?string $userComment,
SiteLink $sitelink,
SiteLink $replacedSitelink )
static

Member Data Documentation

◆ $action

string Wikibase\Repo\RestApi\Domain\Model\SitelinkEditSummary::$action
private

◆ $badgesOnly

bool Wikibase\Repo\RestApi\Domain\Model\SitelinkEditSummary::$badgesOnly
private

◆ $sitelink

SiteLink Wikibase\Repo\RestApi\Domain\Model\SitelinkEditSummary::$sitelink
private

◆ $userComment

string Wikibase\Repo\RestApi\Domain\Model\SitelinkEditSummary::$userComment
private

The documentation for this class was generated from the following file: