TranslateMoveJob Class Reference
[Page Translation]

Contains class with job for moving translation pages. More...

List of all members.

Public Member Functions

 __construct ($title, $params=array(), $id=0)
 run ()
 setSummary ($summary)
 getSummary ()
 setPerformer ($performer)
 getPerformer ()
 setTarget ($target)
 getTarget ()
 setUser ($user)
 getUser ()
 Get a user object for doing edits.
 setParams (array $params)
 lock ()
 unlock ()

Static Public Member Functions

static newJob (Title $source, Title $target, array $params, $performer)
static forceRedirects ($end=false)
 Adapted from wfSuppressWarnings to allow not leaving redirects.

Detailed Description

Contains class with job for moving translation pages.

Used together with PageTranslationMovePage class.

Definition at line 17 of file TranslateMoveJob.php.


Constructor & Destructor Documentation

TranslateMoveJob::__construct ( title,
params = array(),
id = 0 
)

Definition at line 41 of file TranslateMoveJob.php.


Member Function Documentation

static TranslateMoveJob::forceRedirects ( end = false  )  [static]

Adapted from wfSuppressWarnings to allow not leaving redirects.

Parameters:
$end bool

Definition at line 181 of file TranslateMoveJob.php.

Referenced by SpecialPageTranslationMovePage::performAction(), and run().

TranslateMoveJob::getPerformer (  ) 

Definition at line 127 of file TranslateMoveJob.php.

Referenced by run().

TranslateMoveJob::getSummary (  ) 

Definition at line 115 of file TranslateMoveJob.php.

Referenced by run().

TranslateMoveJob::getTarget (  ) 

Definition at line 139 of file TranslateMoveJob.php.

Referenced by lock(), run(), and unlock().

TranslateMoveJob::getUser (  ) 

Get a user object for doing edits.

Returns:
User

Definition at line 155 of file TranslateMoveJob.php.

Referenced by run().

TranslateMoveJob::lock (  ) 

Definition at line 165 of file TranslateMoveJob.php.

Here is the call graph for this function:

static TranslateMoveJob::newJob ( Title $  source,
Title $  target,
array $  params,
performer 
) [static]
Parameters:
$source Title
$target Title
$params array, should include base-source and base-target
$performer 
Returns:
TranslateMoveJob

Definition at line 25 of file TranslateMoveJob.php.

Referenced by SpecialPageTranslationMovePage::performAction().

Here is the call graph for this function:

TranslateMoveJob::run (  ) 

Definition at line 45 of file TranslateMoveJob.php.

Here is the call graph for this function:

TranslateMoveJob::setParams ( array $  params  ) 

Definition at line 159 of file TranslateMoveJob.php.

TranslateMoveJob::setPerformer ( performer  ) 

Definition at line 119 of file TranslateMoveJob.php.

TranslateMoveJob::setSummary ( summary  ) 

Definition at line 111 of file TranslateMoveJob.php.

TranslateMoveJob::setTarget ( target  ) 

Definition at line 131 of file TranslateMoveJob.php.

TranslateMoveJob::setUser ( user  ) 

Definition at line 143 of file TranslateMoveJob.php.

TranslateMoveJob::unlock (  ) 

Definition at line 171 of file TranslateMoveJob.php.

Referenced by run().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Oct 29 00:00:55 2013 for MediaWiki Translate Extension by  doxygen 1.6.3