Hook handlers for triggering prefetching of labels.
More...
Hook handlers for triggering prefetching of labels.
Wikibase uses the HtmlPageLinkRendererEnd hook handler
- See also
- HtmlPageLinkRendererEndHookHandler
- Copyright
- GPL-2.0-or-later
- Author
- Daniel Kinzler
◆ __construct()
- Parameters
-
TermBuffer | $buffer | |
EntityIdLookup | $idLookup | |
TitleFactory | $titleFactory | |
string[] | $termTypes | |
LanguageFallbackChainFactory | $languageFallbackChainFactory | |
bool | $federatedPropertiesEnabled | |
SummaryParsingPrefetchHelper | $summaryParsingPrefetchHelper | |
◆ factory()
◆ getChangedTitles()
Wikibase\Repo\Hooks\LabelPrefetchHookHandler::getChangedTitles |
( |
|
$rows | ) |
|
|
private |
- Parameters
-
IResultWrapper | object[] | $rows | |
- Returns
- Title[]
◆ onChangesListInitRows()
Wikibase\Repo\Hooks\LabelPrefetchHookHandler::onChangesListInitRows |
( |
|
$list, |
|
|
|
$rows |
|
) |
| |
- Parameters
-
ChangesList | $list | |
IResultWrapper | object[] | $rows | |
◆ $buffer
Wikibase\Repo\Hooks\LabelPrefetchHookHandler::$buffer |
|
private |
◆ $federatedPropertiesEnabled
Wikibase\Repo\Hooks\LabelPrefetchHookHandler::$federatedPropertiesEnabled |
|
private |
◆ $federatedPropertiesPrefetchingHelper
Wikibase\Repo\Hooks\LabelPrefetchHookHandler::$federatedPropertiesPrefetchingHelper |
|
private |
◆ $idLookup
Wikibase\Repo\Hooks\LabelPrefetchHookHandler::$idLookup |
|
private |
◆ $languageFallbackChainFactory
Wikibase\Repo\Hooks\LabelPrefetchHookHandler::$languageFallbackChainFactory |
|
private |
◆ $termTypes
Wikibase\Repo\Hooks\LabelPrefetchHookHandler::$termTypes |
|
private |
◆ $titleFactory
Wikibase\Repo\Hooks\LabelPrefetchHookHandler::$titleFactory |
|
private |
The documentation for this class was generated from the following file: