|
MediaWiki master
|
Class for managing delayed RevertedTagUpdateJob waiting for user approval. More...
Public Member Functions | |
| __construct (private readonly EditResultCache $editResultCache, private readonly JobQueueGroup $jobQueueGroup,) | |
| approveRevertedTagForRevision (int $revertRevisionId) | |
| Enqueue a RevertedTagUpdateJob for the given revision, if needed. | |
Class for managing delayed RevertedTagUpdateJob waiting for user approval.
This is intended to be used by the patrol subsystem and various content management extensions.
Definition at line 21 of file RevertedTagUpdateManager.php.
| MediaWiki\Storage\RevertedTagUpdateManager::__construct | ( | private readonly EditResultCache | $editResultCache, |
| private readonly JobQueueGroup | $jobQueueGroup ) |
Definition at line 23 of file RevertedTagUpdateManager.php.
| MediaWiki\Storage\RevertedTagUpdateManager::approveRevertedTagForRevision | ( | int | $revertRevisionId | ) |
Enqueue a RevertedTagUpdateJob for the given revision, if needed.
Call this when the user "approves" the edit.
This method is also called whenever the edit is patrolled or autopatrolled.
| int | $revertRevisionId |
Definition at line 39 of file RevertedTagUpdateManager.php.