Wikibase
MediaWiki Wikibase extension
|
Hook handlers for triggering prefetching of labels. More...
Public Member Functions | |
__construct (TermBuffer $buffer, EntityIdLookup $idLookup, TitleFactory $titleFactory, array $termTypes, array $languageCodes, bool $federatedPropertiesEnabled, SummaryParsingPrefetchHelper $summaryParsingPrefetchHelper) | |
doChangesListInitRows (ChangesList $list, $rows) | |
Static Public Member Functions | |
static | onChangesListInitRows (ChangesList $list, $rows) |
Static handler for the ChangesListInitRows hook. | |
Private Member Functions | |
getChangedTitles ( $rows) | |
Static Private Member Functions | |
static | newFromGlobalState () |
Private Attributes | |
$buffer | |
$idLookup | |
$titleFactory | |
$termTypes | |
$languageCodes | |
$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, | ||
array | $languageCodes, | ||
bool | $federatedPropertiesEnabled, | ||
SummaryParsingPrefetchHelper | $summaryParsingPrefetchHelper | ||
) |
TermBuffer | $buffer | |
EntityIdLookup | $idLookup | |
TitleFactory | $titleFactory | |
string[] | $termTypes | |
string[] | $languageCodes | |
bool | $federatedPropertiesEnabled | |
SummaryParsingPrefetchHelper | $summaryParsingPrefetchHelper |
Wikibase\Repo\Hooks\LabelPrefetchHookHandler::doChangesListInitRows | ( | ChangesList | $list, |
$rows | |||
) |
ChangesList | $list | |
IResultWrapper | object[] | $rows |
|
private |
IResultWrapper | object[] | $rows |
|
staticprivate |
|
static |
Static handler for the ChangesListInitRows hook.
ChangesList | $list | |
IResultWrapper | object[] | $rows |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |