MediaWiki
REL1_22
|
Assemble the segments of a chunked upload. More...
Public Member Functions | |
__construct ($title, $params, $id=0) | |
allowRetries () | |
getDeduplicationInfo () | |
Subclasses may need to override this to make duplication detection work. | |
run () | |
Run the job. |
Assemble the segments of a chunked upload.
Definition at line 29 of file AssembleUploadChunksJob.php.
AssembleUploadChunksJob::__construct | ( | $ | title, |
$ | params, | ||
$ | id = 0 |
||
) |
Definition at line 30 of file AssembleUploadChunksJob.php.
References Job\$id, Job\$params, and Job\$title.
Reimplemented from Job.
Definition at line 124 of file AssembleUploadChunksJob.php.
Subclasses may need to override this to make duplication detection work.
The resulting map conveys everything that makes the job unique. This is only checked if ignoreDuplicates() returns true, meaning that duplicate jobs are supposed to be ignored.
Reimplemented from Job.
Definition at line 116 of file AssembleUploadChunksJob.php.
References array().
Run the job.
Reimplemented from Job.
Definition at line 35 of file AssembleUploadChunksJob.php.
References $upload, $user, array(), RequestContext\getMain(), MWException\getText(), RequestContext\importScopedSession(), Status\newFatal(), Status\newGood(), params, Job\setLastError(), and UploadBase\setSessionStatus().