|
Wikibase
MediaWiki Wikibase extension
|
Service object for triggering different kinds of page updates and generally notifying the local wiki of external changes. More...
Inheritance diagram for Wikibase\Client\Changes\WikiPageUpdater:
Collaboration diagram for Wikibase\Client\Changes\WikiPageUpdater:Public Member Functions | |
| __construct (JobQueueGroup $jobQueueGroup, LoggerInterface $logger, ?StatsFactory $statsFactory=null) | |
| setPurgeCacheBatchSize ( $purgeCacheBatchSize) | |
| setRecentChangesBatchSize ( $rcBatchSize) | |
| scheduleRefreshLinks (array $titles, array $rootJobParams, $causeAction, $causeAgent) | |
| Schedules RefreshLinks jobs for the given titles. | |
Public Member Functions inherited from Wikibase\Client\Changes\PageUpdater | |
| purgeWebCache (array $titles, array $rootJobParams, $causeAction, $causeAgent) | |
| Invalidates external web cached of the given pages. | |
| injectRCRecords (array $titles, EntityChange $change, array $rootJobParams=[]) | |
| Injects an RC entry into the recentchanges, using the given title and attribs. | |
Private Member Functions | |
| buildJobParams (array $titles, array $rootJobParams) | |
| getPageParamForRefreshLinksJob (array $titles) | |
Private Attributes | |
| $jobQueueGroup | |
| $logger | |
| $purgeCacheBatchSize = 300 | |
| $rcBatchSize = 300 | |
| $statsFactory | |
Service object for triggering different kinds of page updates and generally notifying the local wiki of external changes.
Used by ChangeHandler as an interface to the local wiki.
| Wikibase\Client\Changes\WikiPageUpdater::__construct | ( | JobQueueGroup | $jobQueueGroup, |
| LoggerInterface | $logger, | ||
| ?StatsFactory | $statsFactory = null ) |
|
private |
| Title[] | $titles | |
| array | $rootJobParams |
|
private |
| Title[] | $titles |
| Wikibase\Client\Changes\WikiPageUpdater::scheduleRefreshLinks | ( | array | $titles, |
| array | $rootJobParams, | ||
| $causeAction, | |||
| $causeAgent ) |
Schedules RefreshLinks jobs for the given titles.
| Title[] | $titles | The Titles of the pages to update |
| array | $rootJobParams | |
| string | $causeAction | Triggering action |
| string | $causeAgent | Triggering agent |
Implements Wikibase\Client\Changes\PageUpdater.
| Wikibase\Client\Changes\WikiPageUpdater::setPurgeCacheBatchSize | ( | $purgeCacheBatchSize | ) |
| int | $purgeCacheBatchSize |
| Wikibase\Client\Changes\WikiPageUpdater::setRecentChangesBatchSize | ( | $rcBatchSize | ) |
| int | $rcBatchSize |
|
private |
|
private |
|
private |
|
private |
|
private |