|
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 | 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 | 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 |
References addTeardownCallback().
Referenced by addTeardownCallback().
Do not allow retries on jobs by default.
Definition at line 53 of file UploadJobTrait.php.
References allowRetries(), and return.
Referenced by allowRetries().
|
protected |
Ensure we have the file available.
A noop here.
Definition at line 175 of file UploadJobTrait.php.
References fetchFile(), getUpload(), and setLastError().
Referenced by fetchFile().
Get the cache key used to store status.
Definition at line 123 of file UploadJobTrait.php.
References getCacheKey().
Referenced by getCacheKey().
|
abstractprotected |
Getter for the upload.
Needs to be implemented by the job class
References getUpload().
Referenced by fetchFile(), and getUpload().
|
protected |
Set up the job.
| string | $cacheKey |
Definition at line 45 of file UploadJobTrait.php.
References initialiseUploadJob().
Referenced by MediaWiki\JobQueue\Jobs\PublishStashedFileJob\__construct(), and initialiseUploadJob().
|
abstractprotected |
Get the job parameters for logging.
Needs to be implemented by the job class.
| Status[] | $status |
References logJobParams().
Referenced by logJobParams().
| MediaWiki\JobQueue\Jobs\run | ( | ) |
Run the job.
Definition at line 60 of file UploadJobTrait.php.
References run().
Referenced by run().
|
abstractprotected |
This is actually implemented in the Job class.
| mixed | $error |
References setLastError().
Referenced by fetchFile(), and setLastError().
The job parameters.
Definition at line 37 of file UploadJobTrait.php.