Wikibase
MediaWiki Wikibase extension
|
Public Member Functions | |
getSiteLinkDiff () | |
Public Member Functions inherited from Wikibase\Lib\Changes\EntityChange | |
getType () | |
Returns the type of change. | |
getEntityId () | |
setEntityId (EntityId $entityId) | |
Set the Change's entity id (as returned by getEntityId) and the object_id field. | |
getAction () | |
getMetadata (string $cache='no') | |
setMetadata (array $metadata) | |
Sets metadata fields. | |
getComment () | |
addUserMetadata (int $repoUserId, string $repoUserText, int $centralUserId) | |
Add fields and metadata related to the user. | |
setTimestamp (string $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. | |
getObjectId () | |
getField ( $name) | |
getFields () | |
Overwritten to unserialize the info field on the fly. | |
getInfo ( $cache='no') | |
Returns the info array. | |
setField ( $name, $value) | |
Sets the value of a field. | |
setFields (array $fields) | |
Sets multiple fields. | |
getId () | |
hasField ( $name) | |
Gets if a certain field is set. | |
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' |
Public Attributes inherited from Wikibase\Lib\Changes\ChangeRow | |
const | ID = 'id' |
const | METADATA = 'metadata' |
const | INFO = 'info' |
const | TIME = 'time' |
const | USER_ID = 'user_id' |
const | OBJECT_ID = 'object_id' |
const | COMPACT_DIFF = 'compactDiff' |
const | TYPE = 'type' |
const | REVISION_ID = 'revision_id' |
Protected Member Functions inherited from Wikibase\Lib\Changes\EntityChange | |
unserializeInfo ( $serialization) | |
Protected Attributes inherited from Wikibase\Lib\Changes\ChangeRow | |
$logger | |
|
private |
array[] | $siteLinkChanges |
|
private |
Wikibase\Lib\Changes\ItemChange::getSiteLinkDiff | ( | ) |
|
private |