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