Job for updating translation pages when translation or message definition changes.
More...
|
static | newJob (Title $target, string $content, bool $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.
|
|
|
| logDebug (string $msg, array $context=[]) |
|
| logInfo (string $msg, array $context=[]) |
|
| logNotice (string $msg, array $context=[]) |
|
| logWarning (string $msg, array $context=[]) |
|
| logError (string $msg, array $context=[]) |
|
Job for updating translation pages when translation or message definition changes.
- Author
- Niklas Laxström
- Copyright
- Copyright © 2008-2013, Niklas Laxström @license GPL-2.0-or-later
Definition at line 33 of file UpdateMessageJob.php.
◆ __construct()
MediaWiki\Extension\Translate\Synchronization\UpdateMessageJob::__construct |
( |
Title | $title, |
|
|
array | $params = [] ) |
◆ newJob()
static MediaWiki\Extension\Translate\Synchronization\UpdateMessageJob::newJob |
( |
Title | $target, |
|
|
string | $content, |
|
|
bool | $fuzzy = false ) |
|
static |
Create a normal message update job without a rename process.
Definition at line 37 of file UpdateMessageJob.php.
◆ newRenameJob()
static MediaWiki\Extension\Translate\Synchronization\UpdateMessageJob::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 58 of file UpdateMessageJob.php.
◆ run()
MediaWiki\Extension\Translate\Synchronization\UpdateMessageJob::run |
( |
| ) |
|
The documentation for this class was generated from the following file: