MediaWiki  REL1_21
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, $id=0)
 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,
id = 0 
)

Definition at line 30 of file PublishStashedFileJob.php.

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


Member Function Documentation

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

Reimplemented from Job.

Definition at line 127 of file PublishStashedFileJob.php.

Subclasses may need to override this to make duplication detection work.

Returns:
Array Map of key/values

Reimplemented from Job.

Definition at line 119 of file PublishStashedFileJob.php.

References array().


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