Wikibase
MediaWiki Wikibase extension
|
Hook handlers for triggering prefetching of labels. More...
Public Member Functions | |
__construct (TermBuffer $buffer, EntityIdLookup $idLookup, TitleFactory $titleFactory, array $termTypes, LanguageFallbackChainFactory $languageFallbackChainFactory, bool $federatedPropertiesEnabled, SummaryParsingPrefetchHelper $summaryParsingPrefetchHelper) | |
onChangesListInitRows ( $list, $rows) | |
Static Public Member Functions | |
static | factory (TitleFactory $titleFactory, EntityIdLookup $entityIdLookup, LanguageFallbackChainFactory $languageFallbackChainFactory, LoggerInterface $logger, PrefetchingTermLookup $prefetchingTermLookup, SettingsArray $repoSettings, TermBuffer $termBuffer) |
Private Member Functions | |
getChangedTitles ( $rows) | |
Private Attributes | |
$buffer | |
$idLookup | |
$titleFactory | |
$termTypes | |
$languageFallbackChainFactory | |
$federatedPropertiesEnabled | |
$federatedPropertiesPrefetchingHelper | |
Hook handlers for triggering prefetching of labels.
Wikibase uses the HtmlPageLinkRendererEnd hook handler
Wikibase\Repo\Hooks\LabelPrefetchHookHandler::__construct | ( | TermBuffer | $buffer, |
EntityIdLookup | $idLookup, | ||
TitleFactory | $titleFactory, | ||
array | $termTypes, | ||
LanguageFallbackChainFactory | $languageFallbackChainFactory, | ||
bool | $federatedPropertiesEnabled, | ||
SummaryParsingPrefetchHelper | $summaryParsingPrefetchHelper ) |
TermBuffer | $buffer | |
EntityIdLookup | $idLookup | |
TitleFactory | $titleFactory | |
string[] | $termTypes | |
LanguageFallbackChainFactory | $languageFallbackChainFactory | |
bool | $federatedPropertiesEnabled | |
SummaryParsingPrefetchHelper | $summaryParsingPrefetchHelper |
|
static |
|
private |
IResultWrapper | \stdClass[] | $rows |
Wikibase\Repo\Hooks\LabelPrefetchHookHandler::onChangesListInitRows | ( | $list, | |
$rows ) |
ChangesList | $list | |
IResultWrapper | \stdClass[] | $rows |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |