- Copyright
- GPL-2.0-or-later
- Author
- Daniel Kinzler
-
Katie Filbert < aude..nosp@m.wiki.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >
◆ __construct()
Wikibase\Client\Changes\AffectedPagesFinder::__construct |
( |
UsageLookup | $usageLookup, |
|
|
TitleFactory | $titleFactory, |
|
|
PageStore | $pageStore, |
|
|
LinkBatchFactory | $linkBatchFactory, |
|
|
string | $siteId, |
|
|
?LoggerInterface | $logger = null ) |
- Parameters
-
UsageLookup | $usageLookup | |
TitleFactory | $titleFactory | |
PageStore | $pageStore | |
LinkBatchFactory | $linkBatchFactory | |
string | $siteId | |
LoggerInterface | null | $logger | |
- Exceptions
-
◆ getAffectedPages()
Wikibase\Client\Changes\AffectedPagesFinder::getAffectedPages |
( |
EntityChange | $change | ) |
|
|
private |
Returns the page updates implied by the given the change.
- Parameters
-
- Returns
- Traversable of PageEntityUsages
- See also
- Usage tracking for details about virtual usages
◆ getAffectedUsagesByPage()
Wikibase\Client\Changes\AffectedPagesFinder::getAffectedUsagesByPage |
( |
Change | $change | ) |
|
- Parameters
-
- Returns
- PageEntityUsages[]
◆ getChangedAspects()
Wikibase\Client\Changes\AffectedPagesFinder::getChangedAspects |
( |
EntityChange | $change | ) |
|
- Parameters
-
- Returns
- string[]
◆ getChangedStatementAspects()
Wikibase\Client\Changes\AffectedPagesFinder::getChangedStatementAspects |
( |
array | $diff | ) |
|
|
private |
- Parameters
-
- Returns
- string[]
◆ getChangedTermAspects()
Wikibase\Client\Changes\AffectedPagesFinder::getChangedTermAspects |
( |
| $aspect, |
|
|
array | $diff ) |
|
private |
- Parameters
-
string | $aspect | |
string[] | $diff | |
- Returns
- string[]
◆ getPagesReferencedInDiff()
Wikibase\Client\Changes\AffectedPagesFinder::getPagesReferencedInDiff |
( |
array | $siteLinkDiff | ) |
|
|
private |
- Parameters
-
- Exceptions
-
- Returns
- string[]
◆ getTitlesFromTexts()
Wikibase\Client\Changes\AffectedPagesFinder::getTitlesFromTexts |
( |
array | $names | ) |
|
|
private |
- Parameters
-
- Returns
- Title[]
◆ isBadgesOnlyChange()
Wikibase\Client\Changes\AffectedPagesFinder::isBadgesOnlyChange |
( |
array | $siteLinkDiff | ) |
|
|
private |
◆ makeVirtualUsages()
Wikibase\Client\Changes\AffectedPagesFinder::makeVirtualUsages |
( |
array | $titles, |
|
|
EntityId | $entityId, |
|
|
array | $aspects ) |
|
private |
- Parameters
-
Title[] | $titles | |
EntityId | $entityId | |
string[] | $aspects | |
- Returns
- PageEntityUsages[]
◆ mergeUsagesInto()
Wikibase\Client\Changes\AffectedPagesFinder::mergeUsagesInto |
( |
iterable | $from, |
|
|
array & | $into ) |
|
private |
- Parameters
-
| iterable<PageEntityUsages> | $from |
PageEntityUsages[] | &$into | Array to merge into |
◆ transformAllPageEntityUsages()
Wikibase\Client\Changes\AffectedPagesFinder::transformAllPageEntityUsages |
( |
iterable | $usages, |
|
|
EntityId | $entityId, |
|
|
array | $changedAspects ) |
|
private |
- Parameters
-
| iterable<PageEntityUsages> | $usages |
EntityId | $entityId | |
string[] | $changedAspects | |
- Returns
- iterable<PageEntityUsages>
◆ $linkBatchFactory
Wikibase\Client\Changes\AffectedPagesFinder::$linkBatchFactory |
|
private |
◆ $logger
Wikibase\Client\Changes\AffectedPagesFinder::$logger |
|
private |
◆ $pageStore
Wikibase\Client\Changes\AffectedPagesFinder::$pageStore |
|
private |
◆ $siteId
Wikibase\Client\Changes\AffectedPagesFinder::$siteId |
|
private |
◆ $titleFactory
Wikibase\Client\Changes\AffectedPagesFinder::$titleFactory |
|
private |
◆ $usageLookup
Wikibase\Client\Changes\AffectedPagesFinder::$usageLookup |
|
private |
The documentation for this class was generated from the following file: