Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatablePageStore Class Reference
Inheritance diagram for MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatablePageStore:
MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatableBundleStore

Public Member Functions

 __construct (MessageIndex $messageIndex, JobQueueGroup $jobQueue, RevTagStore $revTagStore, IConnectionProvider $dbProvider, TranslatableBundleStatusStore $translatableBundleStatusStore, TranslatablePageParser $translatablePageParser, MessageGroupMetadata $messageGroupMetadata)
 
 move (Title $oldName, Title $newName)
 
 handleNullRevisionInsert (TranslatableBundle $bundle, RevisionRecord $revision)
 
 delete (Title $title)
 Delete a translatable page.
 
 unmark (PageIdentity $title)
 Unmark a translatable page.
 
 performStatusUpdate (Title $title)
 Queues an update for the status of the translatable page.
 
 updateStatus (Title $title)
 

Detailed Description

Author
Abijeet Patro
Niklas Laxström
Since
2022.03 @license GPL-2.0-or-later

Definition at line 31 of file TranslatablePageStore.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatablePageStore::__construct ( MessageIndex $messageIndex,
JobQueueGroup $jobQueue,
RevTagStore $revTagStore,
IConnectionProvider $dbProvider,
TranslatableBundleStatusStore $translatableBundleStatusStore,
TranslatablePageParser $translatablePageParser,
MessageGroupMetadata $messageGroupMetadata )

Definition at line 40 of file TranslatablePageStore.php.

Member Function Documentation

◆ delete()

MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatablePageStore::delete ( Title $title)

Delete a translatable page.

Implements MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatableBundleStore.

Definition at line 101 of file TranslatablePageStore.php.

◆ handleNullRevisionInsert()

MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatablePageStore::handleNullRevisionInsert ( TranslatableBundle $bundle,
RevisionRecord $revision )

◆ move()

MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatablePageStore::move ( Title $oldName,
Title $newName )

◆ performStatusUpdate()

MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatablePageStore::performStatusUpdate ( Title $title)

Queues an update for the status of the translatable page.

Update is not done immediately.

Definition at line 136 of file TranslatablePageStore.php.

◆ unmark()

MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatablePageStore::unmark ( PageIdentity $title)

Unmark a translatable page.

Definition at line 113 of file TranslatablePageStore.php.

◆ updateStatus()

MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatablePageStore::updateStatus ( Title $title)

Definition at line 145 of file TranslatablePageStore.php.


The documentation for this class was generated from the following file: