|
MediaWiki master
|
Namespaces | |
| namespace | Hook |
Classes | |
| class | AssembleUploadChunksJob |
| Assemble the segments of a chunked upload. More... | |
| class | CategoryCountUpdateJob |
| Job to update category membership counts. 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 | 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 54 of file UploadJobTrait.php.
|
protected |
Ensure we have the file available.
A noop here.
Definition at line 176 of file UploadJobTrait.php.
References MediaWiki\JobQueue\Jobs\setLastError().
| MediaWiki\JobQueue\Jobs\getCacheKey | ( | ) |
Get the cache key used to store status.
Definition at line 124 of file UploadJobTrait.php.
|
abstractprotected |
Getter for the upload.
Needs to be implemented by the job class
|
protected |
Set up the job.
| string | $cacheKey |
Definition at line 46 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 61 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 38 of file UploadJobTrait.php.
Referenced by MediaWiki\JobQueue\Jobs\RevertedTagUpdateJob\__construct().