MediaWiki REL1_39
|
Abstract base class for update jobs that do something with some secondary data extracted from article. More...
Public Member Functions | |
__construct () | |
getCauseAction () | |
getCauseAgent () | |
setCause ( $action, $user) | |
setTransactionTicket ( $ticket) | |
Public Member Functions inherited from DeferrableUpdate | |
doUpdate () | |
Perform the actual work. | |
Static Public Member Functions | |
static | runUpdates (array $updates) |
Convenience method, calls doUpdate() on every DataUpdate in the array. | |
Protected Attributes | |
string | $causeAction = 'unknown' |
Short update cause action description. | |
string | $causeAgent = 'unknown' |
Short update cause user description. | |
mixed | $ticket |
Result from LBFactory::getEmptyTransactionTicket() | |
Abstract base class for update jobs that do something with some secondary data extracted from article.
Definition at line 30 of file DataUpdate.php.
DataUpdate::__construct | ( | ) |
Definition at line 41 of file DataUpdate.php.
DataUpdate::getCauseAction | ( | ) |
Definition at line 65 of file DataUpdate.php.
Referenced by HTMLCacheUpdate\doUpdate(), RefreshSecondaryDataUpdate\getAsJobSpecification(), and MediaWiki\Deferred\LinksUpdate\LinksUpdate\queueRecursiveJobs().
DataUpdate::getCauseAgent | ( | ) |
Definition at line 72 of file DataUpdate.php.
Referenced by HTMLCacheUpdate\doUpdate(), RefreshSecondaryDataUpdate\getAsJobSpecification(), and MediaWiki\Deferred\LinksUpdate\LinksUpdate\queueRecursiveJobs().
|
static |
Convenience method, calls doUpdate() on every DataUpdate in the array.
DataUpdate[] | $updates | A list of DataUpdate instances |
Exception |
Definition at line 83 of file DataUpdate.php.
References wfDeprecated().
DataUpdate::setCause | ( | $action, | |
$user ) |
Definition at line 57 of file DataUpdate.php.
DataUpdate::setTransactionTicket | ( | $ticket | ) |
mixed | $ticket | Result of getEmptyTransactionTicket() |
Reimplemented in MediaWiki\Deferred\LinksUpdate\LinksUpdate.
Definition at line 49 of file DataUpdate.php.
|
protected |
Short update cause action description.
Definition at line 34 of file DataUpdate.php.
Referenced by HTMLCacheUpdate\__construct().
|
protected |
Short update cause user description.
Definition at line 36 of file DataUpdate.php.
Referenced by HTMLCacheUpdate\__construct().
|
protected |
Result from LBFactory::getEmptyTransactionTicket()
Definition at line 32 of file DataUpdate.php.
Referenced by MediaWiki\Deferred\LinksUpdate\LinksUpdate\setTransactionTicket().