Job for rebuilding message group stats.
More...
|
| static | newJob (array $params) |
| |
| static | newRefreshGroupsJob (array $messageGroupIds) |
| | Force updating of message group stats for given groups.
|
| |
|
| | 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 rebuilding message group stats.
- Author
- Niklas Laxström @license GPL-2.0-or-later
Definition at line 19 of file RebuildMessageGroupStatsJob.php.
◆ __construct()
| MediaWiki\Extension\Translate\Statistics\RebuildMessageGroupStatsJob::__construct |
( |
array | $params = [] | ) |
|
◆ newJob()
| static MediaWiki\Extension\Translate\Statistics\RebuildMessageGroupStatsJob::newJob |
( |
array | $params | ) |
|
|
static |
◆ newRefreshGroupsJob()
| static MediaWiki\Extension\Translate\Statistics\RebuildMessageGroupStatsJob::newRefreshGroupsJob |
( |
array | $messageGroupIds | ) |
|
|
static |
Force updating of message group stats for given groups.
This uses cache for groups not given. If given groups have dependencies such as an aggregate group and it's subgroup, this attempts to take care of it so that no duplicate work is done.
- Parameters
-
Definition at line 40 of file RebuildMessageGroupStatsJob.php.
◆ run()
| MediaWiki\Extension\Translate\Statistics\RebuildMessageGroupStatsJob::run |
( |
| ) |
|
◆ $removeDuplicates
| MediaWiki\Extension\Translate\Statistics\RebuildMessageGroupStatsJob::$removeDuplicates = true |
|
protected |
◆ CLEAR_GROUPS
| const MediaWiki\Extension\Translate\Statistics\RebuildMessageGroupStatsJob::CLEAR_GROUPS = 'cleargroups' |
◆ GROUP_ID
| const MediaWiki\Extension\Translate\Statistics\RebuildMessageGroupStatsJob::GROUP_ID = 'groupid' |
◆ LANGUAGE_CODE
| const MediaWiki\Extension\Translate\Statistics\RebuildMessageGroupStatsJob::LANGUAGE_CODE = 'languagecode' |
◆ REFRESH
| const MediaWiki\Extension\Translate\Statistics\RebuildMessageGroupStatsJob::REFRESH = 'purge' |
The documentation for this class was generated from the following file: