Job for updating translation pages when translation or message definition changes.
More...
|
static | newJob (Title $target, string $content, $fuzzy=false) |
| Create a normal message update job without a rename process.
|
|
static | newRenameJob (Title $target, string $targetStr, string $replacement, $fuzzy, string $content, array $otherLangContents=[]) |
| Create a message update job containing a rename process.
|
|
Job for updating translation pages when translation or message definition changes.
Definition at line 23 of file MessageUpdateJob.php.
◆ __construct()
MessageUpdateJob::__construct |
( |
| $title, |
|
|
| $params = [] ) |
◆ newJob()
static MessageUpdateJob::newJob |
( |
Title | $target, |
|
|
string | $content, |
|
|
| $fuzzy = false ) |
|
static |
Create a normal message update job without a rename process.
- Parameters
-
Title | $target | |
string | $content | |
string | false | $fuzzy | |
- Returns
- self
Definition at line 31 of file MessageUpdateJob.php.
◆ newRenameJob()
static MessageUpdateJob::newRenameJob |
( |
Title | $target, |
|
|
string | $targetStr, |
|
|
string | $replacement, |
|
|
| $fuzzy, |
|
|
string | $content, |
|
|
array | $otherLangContents = [] ) |
|
static |
Create a message update job containing a rename process.
- Parameters
-
Title | $target | |
string | $targetStr | |
string | $replacement | |
string | false | $fuzzy | |
string | $content | |
array | $otherLangContents | |
- Returns
- self
Definition at line 54 of file MessageUpdateJob.php.
◆ run()
MessageUpdateJob::run |
( |
| ) |
|
The documentation for this class was generated from the following file: