MediaWiki  REL1_24
PublishStashedFileJob Class Reference

Upload a file from the upload stash into the local file repo. More...

Inheritance diagram for PublishStashedFileJob:
Collaboration diagram for PublishStashedFileJob:

List of all members.

Public Member Functions

 __construct ($title, $params)
 allowRetries ()
 getDeduplicationInfo ()
 Subclasses may need to override this to make duplication detection work.
 run ()
 Run the job.

Detailed Description

Upload a file from the upload stash into the local file repo.

Definition at line 29 of file PublishStashedFileJob.php.


Constructor & Destructor Documentation

PublishStashedFileJob::__construct ( title,
params 
)

Definition at line 30 of file PublishStashedFileJob.php.

References Job\$params, and Job\$title.


Member Function Documentation

Returns:
bool Whether this job can be retried on failure by job runners
Since:
1.21

Reimplemented from Job.

Definition at line 147 of file PublishStashedFileJob.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.

Returns:
array Map of key/values
Since:
1.21

Reimplemented from Job.

Definition at line 138 of file PublishStashedFileJob.php.

References array().


The documentation for this class was generated from the following file: