MediaWiki REL1_37
|
Update object handling the cleanup of secondary data after a page was edited. More...
Public Member Functions | |
__construct (ILBFactory $lbFactory, UserIdentity $user, WikiPage $page, RevisionRecord $revisionRecord, DerivedPageDataUpdater $updater, array $options) | |
doUpdate () | |
Perform the actual work. | |
getAsJobSpecification () | |
getTransactionRoundRequirement () | |
Public Member Functions inherited from DataUpdate | |
__construct () | |
getCauseAction () | |
getCauseAgent () | |
setCause ( $action, $user) | |
setTransactionTicket ( $ticket) | |
Private Attributes | |
ILBFactory | $lbFactory |
WikiPage | $page |
bool | $recursive |
RevisionRecord null | $revisionRecord |
DerivedPageDataUpdater | $updater |
UserIdentity null | $user |
Additional Inherited Members | |
Static Public Member Functions inherited from DataUpdate | |
static | runUpdates (array $updates) |
Convenience method, calls doUpdate() on every DataUpdate in the array. | |
Protected Attributes inherited from DataUpdate | |
string | $causeAction = 'unknown' |
Short update cause action description. | |
string | $causeAgent = 'unknown' |
Short update cause user description. | |
mixed | $ticket |
Result from LBFactory::getEmptyTransactionTicket() | |
Update object handling the cleanup of secondary data after a page was edited.
This makes it possible for DeferredUpdates to have retry logic using a single refreshLinks job if any of the bundled updates fail.
Definition at line 36 of file RefreshSecondaryDataUpdate.php.
RefreshSecondaryDataUpdate::__construct | ( | ILBFactory | $lbFactory, |
UserIdentity | $user, | ||
WikiPage | $page, | ||
RevisionRecord | $revisionRecord, | ||
DerivedPageDataUpdater | $updater, | ||
array | $options | ||
) |
ILBFactory | $lbFactory | |
UserIdentity | $user | |
WikiPage | $page | Page we are updating |
RevisionRecord | $revisionRecord | |
DerivedPageDataUpdater | $updater | |
array | $options | Options map; supports "recursive" |
Definition at line 61 of file RefreshSecondaryDataUpdate.php.
RefreshSecondaryDataUpdate::doUpdate | ( | ) |
Perform the actual work.
Implements DeferrableUpdate.
Definition at line 83 of file RefreshSecondaryDataUpdate.php.
RefreshSecondaryDataUpdate::getAsJobSpecification | ( | ) |
Implements EnqueueableDataUpdate.
Definition at line 114 of file RefreshSecondaryDataUpdate.php.
References DataUpdate\getCauseAction(), DataUpdate\getCauseAgent(), and true.
RefreshSecondaryDataUpdate::getTransactionRoundRequirement | ( | ) |
Implements TransactionRoundAwareUpdate.
Definition at line 79 of file RefreshSecondaryDataUpdate.php.
|
private |
Definition at line 40 of file RefreshSecondaryDataUpdate.php.
|
private |
Definition at line 42 of file RefreshSecondaryDataUpdate.php.
|
private |
Definition at line 46 of file RefreshSecondaryDataUpdate.php.
|
private |
Definition at line 49 of file RefreshSecondaryDataUpdate.php.
|
private |
Definition at line 44 of file RefreshSecondaryDataUpdate.php.
|
private |
Definition at line 51 of file RefreshSecondaryDataUpdate.php.