Wikibase
MediaWiki Wikibase extension
|
No-op implementation of the UsageTracker and UsageLookup interfaces. More...
Public Member Functions | |
addUsedEntities ( $pageId, array $usages) | |
replaceUsedEntities ( $pageId, array $usages) | |
pruneUsages ( $pageId) | |
getUsagesForPage ( $pageId) | |
getUnusedEntities (array $entityIds) | |
getPagesUsing (array $entities, array $aspects=[]) | |
No-op implementation of the UsageTracker and UsageLookup interfaces.
Wikibase\Client\Usage\NullUsageTracker::addUsedEntities | ( | $pageId, | |
array | $usages | ||
) |
int | $pageId | |
EntityUsage[] | $usages |
Implements Wikibase\Client\Usage\UsageTracker.
Wikibase\Client\Usage\NullUsageTracker::getPagesUsing | ( | array | $entities, |
array | $aspects = [] |
||
) |
EntityId[] | $entities | |
string[] | $aspects |
Implements Wikibase\Client\Usage\UsageLookup.
Wikibase\Client\Usage\NullUsageTracker::getUnusedEntities | ( | array | $entityIds | ) |
EntityId[] | $entityIds |
Implements Wikibase\Client\Usage\UsageLookup.
Wikibase\Client\Usage\NullUsageTracker::getUsagesForPage | ( | $pageId | ) |
int | $pageId |
Implements Wikibase\Client\Usage\UsageLookup.
Wikibase\Client\Usage\NullUsageTracker::pruneUsages | ( | $pageId | ) |
int | $pageId |
Implements Wikibase\Client\Usage\UsageTracker.
Wikibase\Client\Usage\NullUsageTracker::replaceUsedEntities | ( | $pageId, | |
array | $usages | ||
) |
int | $pageId | |
EntityUsage[] | $usages |
Implements Wikibase\Client\Usage\UsageTracker.