Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Lib\Changes\EntityDiffChangedAspectsFactory Class Reference

Public Member Functions

 __construct (?LoggerInterface $logger=null)
 
 newFromEntityDiff (Diff $entityDiff)
 
 newEmpty ()
 

Private Member Functions

 getChangedSiteLinks (Diff $siteLinkDiff)
 
 getSiteLinkChangePerSite (DiffOp $siteLinkDiffOp)
 
 getChangedLabels (Diff $labelsDiff)
 
 getChangedDescriptions (Diff $descriptionsDiff)
 

Private Attributes

 $logger
 

Detailed Description

Author
Marius Hoch

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lib\Changes\EntityDiffChangedAspectsFactory::__construct ( ?LoggerInterface  $logger = null)

Member Function Documentation

◆ getChangedDescriptions()

Wikibase\Lib\Changes\EntityDiffChangedAspectsFactory::getChangedDescriptions ( Diff  $descriptionsDiff)
private
Parameters
Diff$descriptionsDiff
Returns
string[]

◆ getChangedLabels()

Wikibase\Lib\Changes\EntityDiffChangedAspectsFactory::getChangedLabels ( Diff  $labelsDiff)
private
Parameters
Diff$labelsDiff
Returns
string[]

◆ getChangedSiteLinks()

Wikibase\Lib\Changes\EntityDiffChangedAspectsFactory::getChangedSiteLinks ( Diff  $siteLinkDiff)
private
Parameters
Diff$siteLinkDiff
Returns
array[]

◆ getSiteLinkChangePerSite()

Wikibase\Lib\Changes\EntityDiffChangedAspectsFactory::getSiteLinkChangePerSite ( DiffOp  $siteLinkDiffOp)
private
Parameters
DiffOp$siteLinkDiffOp
Returns
array ( string|null $oldPageName, string|null $newPageName, bool $badgesChanged ) -return array{0:?string,1:?string,2:bool}

◆ newEmpty()

Wikibase\Lib\Changes\EntityDiffChangedAspectsFactory::newEmpty ( )
Returns
EntityDiffChangedAspects

◆ newFromEntityDiff()

Wikibase\Lib\Changes\EntityDiffChangedAspectsFactory::newFromEntityDiff ( Diff  $entityDiff)
Parameters
Diff$entityDiff
Returns
EntityDiffChangedAspects

Member Data Documentation

◆ $logger

Wikibase\Lib\Changes\EntityDiffChangedAspectsFactory::$logger
private

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