Wikibase
MediaWiki Wikibase extension
|
Hook handler for prefetching on history pages. More...
Public Member Functions | |
__construct (bool $federatedPropertiesEnabled, PrefetchingTermLookup $prefetchingLookup, LinkTargetEntityIdLookup $linkTargetEntityIdLookup, LanguageFallbackChainFactory $languageFallbackChainFactory) | |
onPageHistoryPager__doBatchLookups ( $pager, $result) | |
Static Public Member Functions | |
static | factory (LanguageFallbackChainFactory $languageFallbackChainFactory, LinkTargetEntityIdLookup $linkTargetEntityIdLookup, PrefetchingTermLookup $prefetchingTermLookup) |
Private Attributes | |
$federatedPropertiesEnabled | |
$linkTargetEntityIdLookup | |
$languageFallbackChainFactory | |
$federatedPropertiesPrefetchHelper | |
Hook handler for prefetching on history pages.
Currently only used when federated properties are enabled.
Wikibase\Repo\Hooks\PageHistoryPagerHookHandler::__construct | ( | bool | $federatedPropertiesEnabled, |
PrefetchingTermLookup | $prefetchingLookup, | ||
LinkTargetEntityIdLookup | $linkTargetEntityIdLookup, | ||
LanguageFallbackChainFactory | $languageFallbackChainFactory | ||
) |
bool | $federatedPropertiesEnabled | |
PrefetchingTermLookup | $prefetchingLookup | |
LinkTargetEntityIdLookup | $linkTargetEntityIdLookup | |
LanguageFallbackChainFactory | $languageFallbackChainFactory |
|
static |
Wikibase\Repo\Hooks\PageHistoryPagerHookHandler::onPageHistoryPager__doBatchLookups | ( | $pager, | |
$result | |||
) |
HistoryPager | $pager | |
IResultWrapper | $result |
|
private |
|
private |
|
private |
|
private |