|
Wikibase
MediaWiki Wikibase extension
|
Service interface for triggering different kinds of page updates and generally notifying the local wiki of external changes. More...
Inheritance diagram for Wikibase\Client\Changes\PageUpdater:Public Member Functions | |
| purgeWebCache (array $titles, array $rootJobParams, $causeAction, $causeAgent) | |
| Invalidates external web cached of the given pages. | |
| scheduleRefreshLinks (array $titles, array $rootJobParams, $causeAction, $causeAgent) | |
| Schedules RefreshLinks jobs for the given titles. | |
| injectRCRecords (array $titles, EntityChange $change, array $rootJobParams=[]) | |
| Injects an RC entry into the recentchanges, using the given title and attribs. | |
Service interface 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\PageUpdater::injectRCRecords | ( | array | $titles, |
| EntityChange | $change, | ||
| array | $rootJobParams = [] |
||
| ) |
Injects an RC entry into the recentchanges, using the given title and attribs.
| Title[] | $titles | |
| EntityChange | $change | |
| array | $rootJobParams | any relevant root job parameters to be inherited by new jobs. |
| Wikibase\Client\Changes\PageUpdater::purgeWebCache | ( | array | $titles, |
| array | $rootJobParams, | ||
| $causeAction, | |||
| $causeAgent | |||
| ) |
Invalidates external web cached of the given pages.
| Title[] | $titles | The Titles of the pages to update |
| array | $rootJobParams | any relevant root job parameters to be inherited by new jobs. |
| string | $causeAction | Triggering action |
| string | $causeAgent | Triggering agent |
| Wikibase\Client\Changes\PageUpdater::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 | any relevant root job parameters to be inherited by new jobs. |
| string | $causeAction | Triggering action |
| string | $causeAgent | Triggering agent |
Implemented in Wikibase\Client\Changes\WikiPageUpdater.