Wikibase
MediaWiki Wikibase extension
Wikibase\Lib\Changes\ItemChange Class Reference
+ Inheritance diagram for Wikibase\Lib\Changes\ItemChange:
+ Collaboration diagram for Wikibase\Lib\Changes\ItemChange:

Public Member Functions

 getSiteLinkDiff ()
 
- Public Member Functions inherited from Wikibase\Lib\Changes\EntityChange
 getType ()
 
 getEntityId ()
 
 setEntityId (EntityId $entityId)
 Set the Change's entity id (as returned by getEntityId) and the object_id field. More...
 
 getAction ()
 
 getMetadata ( $cache='no')
 
 setMetadata (array $metadata)
 Sets metadata fields. More...
 
 getComment ()
 
 addUserMetadata (int $repoUserId, string $repoUserText, int $centralUserId)
 Add fields and metadata related to the user. More...
 
 setTimestamp ( $timestamp)
 
 getSerializedInfo ( $skipKeys=[])
 
- Public Member Functions inherited from Wikibase\Lib\Changes\DiffChange
 getCompactDiff ()
 
 setCompactDiff (EntityDiffChangedAspects $diff)
 
- Public Member Functions inherited from Wikibase\Lib\Changes\ChangeRow
 __construct (array $fields=[])
 
 setLogger (LoggerInterface $logger)
 
 getAge ()
 
 getTime ()
 
 getUserId ()
 Original (repository) user id, or 0 for logged out users. More...
 
 getObjectId ()
 
 getField ( $name)
 
 getFields ()
 Overwritten to unserialize the info field on the fly. More...
 
 getInfo ( $cache='no')
 Returns the info array. More...
 
 setField ( $name, $value)
 Sets the value of a field. More...
 
 setFields (array $fields)
 Sets multiple fields. More...
 
 getId ()
 
 hasField ( $name)
 Gets if a certain field is set. More...
 

Private Member Functions

 getDiffFromSiteLinkChanges (array $siteLinkChanges)
 
 getDiffFromSiteLinkChangesPerWiki (array $change)
 
 logWarning ( $obj)
 

Additional Inherited Members

- Public Attributes inherited from Wikibase\Lib\Changes\EntityChange
const UPDATE = 'update'
 
const ADD = 'add'
 
const REMOVE = 'remove'
 
const RESTORE = 'restore'
 
- Protected Member Functions inherited from Wikibase\Lib\Changes\EntityChange
 unserializeInfo ( $serialization)
 
- Protected Attributes inherited from Wikibase\Lib\Changes\ChangeRow
 $logger
 

Detailed Description

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

Member Function Documentation

◆ getDiffFromSiteLinkChanges()

Wikibase\Lib\Changes\ItemChange::getDiffFromSiteLinkChanges ( array  $siteLinkChanges)
private
Parameters
array[]$siteLinkChanges
Returns
Diff

◆ getDiffFromSiteLinkChangesPerWiki()

Wikibase\Lib\Changes\ItemChange::getDiffFromSiteLinkChangesPerWiki ( array  $change)
private

◆ getSiteLinkDiff()

Wikibase\Lib\Changes\ItemChange::getSiteLinkDiff ( )

◆ logWarning()

Wikibase\Lib\Changes\ItemChange::logWarning (   $obj)
private

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