Contains class with job for moving translation pages. More...
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. |
Contains class with job for moving translation pages.
Used together with PageTranslationMovePage class.
Definition at line 17 of file TranslateMoveJob.php.
TranslateMoveJob::__construct | ( | $ | title, | |
$ | params = array() , |
|||
$ | id = 0 | |||
) |
Definition at line 41 of file TranslateMoveJob.php.
static TranslateMoveJob::forceRedirects | ( | $ | end = false |
) | [static] |
Adapted from wfSuppressWarnings to allow not leaving redirects.
$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.
TranslateMoveJob::getUser | ( | ) |
Get a user object for doing edits.
Definition at line 155 of file TranslateMoveJob.php.
Referenced by run().
TranslateMoveJob::lock | ( | ) |
static TranslateMoveJob::newJob | ( | Title $ | source, | |
Title $ | target, | |||
array $ | params, | |||
$ | performer | |||
) | [static] |
$source | Title | |
$target | Title | |
$params | array, should include base-source and base-target | |
$performer |
Definition at line 25 of file TranslateMoveJob.php.
Referenced by SpecialPageTranslationMovePage::performAction().
TranslateMoveJob::run | ( | ) |
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().