MediaWiki master
|
Classes | |
class | AssembleUploadChunksJob |
Assemble the segments of a chunked upload. More... | |
class | CategoryMembershipChangeJob |
Job to add recent change entries mentioning category membership changes. More... | |
class | CdnPurgeJob |
Job to purge a set of URLs from CDN. More... | |
class | DeleteLinksJob |
Job to prune link tables for pages that were deleted. More... | |
class | DeletePageJob |
class | DoubleRedirectJob |
Fix any double redirects after moving a page. More... | |
class | DuplicateJob |
No-op job that does nothing. More... | |
class | HTMLCacheUpdateJob |
Job to purge the HTML/file cache for all pages that link to or use another page or file. More... | |
class | NullJob |
No-op job that does nothing. More... | |
class | ParsoidCachePrewarmJob |
class | PublishStashedFileJob |
Upload a file from the upload stash into the local file repo. More... | |
class | RefreshLinksJob |
Job to update link tables for rerendered wiki pages. More... | |
class | RevertedTagUpdateJob |
Job for deferring the execution of RevertedTagUpdate. More... | |
class | ThumbnailRenderJob |
Job for asynchronous rendering of thumbnails, e.g. More... | |
class | UploadFromUrlJob |
Upload a file by URL, via the jobqueue. More... | |
Functions | |
addTeardownCallback ( $callback) | |
This is actually implemented in the Job class. | |
allowRetries () | |
Do not allow retries on jobs by default. | |
fetchFile () | |
Ensure we have the file available. | |
getCacheKey () | |
Get the cache key used to store status. | |
getUpload () | |
Getter for the upload. | |
initialiseUploadJob ( $cacheKey) | |
Set up the job. | |
logJobParams ( $status) | |
Get the job parameters for logging. | |
run () | |
Run the job. | |
setLastError ( $error) | |
This is actually implemented in the Job class. | |
Variables | |
array | $params |
The job parameters. | |
trait | UploadJobTrait |
Common functionality for async uploads. | |
|
abstractprotected |
This is actually implemented in the Job class.
callable | $callback |
MediaWiki\JobQueue\Jobs\allowRetries | ( | ) |
Do not allow retries on jobs by default.
Definition at line 67 of file UploadJobTrait.php.
|
protected |
Ensure we have the file available.
A noop here.
Definition at line 187 of file UploadJobTrait.php.
References MediaWiki\JobQueue\Jobs\setLastError().
MediaWiki\JobQueue\Jobs\getCacheKey | ( | ) |
Get the cache key used to store status.
Definition at line 134 of file UploadJobTrait.php.
|
abstractprotected |
|
protected |
Set up the job.
string | $cacheKey |
Definition at line 59 of file UploadJobTrait.php.
Referenced by MediaWiki\JobQueue\Jobs\PublishStashedFileJob\__construct().
|
abstractprotected |
Get the job parameters for logging.
Needs to be implemented by the job class.
Status[] | $status |
MediaWiki\JobQueue\Jobs\run | ( | ) |
Run the job.
Definition at line 74 of file UploadJobTrait.php.
|
abstractprotected |
This is actually implemented in the Job class.
mixed | $error |
Referenced by MediaWiki\JobQueue\Jobs\fetchFile().
array MediaWiki::JobQueue::Jobs\$params |
The job parameters.
Definition at line 51 of file UploadJobTrait.php.
Referenced by MediaWiki\JobQueue\Jobs\RevertedTagUpdateJob\__construct().