Contains the core logic to validate and move translatable bundles.
More...
|
| __construct (MovePageFactory $movePageFactory, JobQueueGroup $jobQueue, LinkBatchFactory $linkBatchFactory, TranslatableBundleFactory $bundleFactory, SubpageListBuilder $subpageBuilder, IConnectionProvider $dbProvider, ObjectCacheFactory $objectCacheFactory, ?int $pageMoveLimit) |
|
| getPageMoveCollection (Title $source, ?Title $target, User $user, string $reason, bool $moveSubPages, bool $moveTalkPages, bool $leaveRedirect) |
|
| moveAsynchronously (Title $source, Title $target, bool $moveSubPages, User $user, string $moveReason, bool $moveTalkPages, bool $leaveRedirect) |
|
| moveSynchronously (Title $source, Title $target, array $pagesToMove, array $pagesToRedirect, User $performer, string $moveReason, ?callable $progressCallback=null) |
|
| disablePageMoveLimit () |
|
| enablePageMoveLimit () |
|
Contains the core logic to validate and move translatable bundles.
- Author
- Abijeet Patro @license GPL-2.0-or-later
- Since
- 2021.03
Definition at line 30 of file TranslatableBundleMover.php.
◆ __construct()
MediaWiki\Extension\Translate\PageTranslation\TranslatableBundleMover::__construct |
( |
MovePageFactory | $movePageFactory, |
|
|
JobQueueGroup | $jobQueue, |
|
|
LinkBatchFactory | $linkBatchFactory, |
|
|
TranslatableBundleFactory | $bundleFactory, |
|
|
SubpageListBuilder | $subpageBuilder, |
|
|
IConnectionProvider | $dbProvider, |
|
|
ObjectCacheFactory | $objectCacheFactory, |
|
|
?int | $pageMoveLimit ) |
◆ disablePageMoveLimit()
MediaWiki\Extension\Translate\PageTranslation\TranslatableBundleMover::disablePageMoveLimit |
( |
| ) |
|
◆ enablePageMoveLimit()
MediaWiki\Extension\Translate\PageTranslation\TranslatableBundleMover::enablePageMoveLimit |
( |
| ) |
|
◆ getPageMoveCollection()
MediaWiki\Extension\Translate\PageTranslation\TranslatableBundleMover::getPageMoveCollection |
( |
Title | $source, |
|
|
?Title | $target, |
|
|
User | $user, |
|
|
string | $reason, |
|
|
bool | $moveSubPages, |
|
|
bool | $moveTalkPages, |
|
|
bool | $leaveRedirect ) |
◆ moveAsynchronously()
MediaWiki\Extension\Translate\PageTranslation\TranslatableBundleMover::moveAsynchronously |
( |
Title | $source, |
|
|
Title | $target, |
|
|
bool | $moveSubPages, |
|
|
User | $user, |
|
|
string | $moveReason, |
|
|
bool | $moveTalkPages, |
|
|
bool | $leaveRedirect ) |
◆ moveSynchronously()
MediaWiki\Extension\Translate\PageTranslation\TranslatableBundleMover::moveSynchronously |
( |
Title | $source, |
|
|
Title | $target, |
|
|
array | $pagesToMove, |
|
|
array | $pagesToRedirect, |
|
|
User | $performer, |
|
|
string | $moveReason, |
|
|
?callable | $progressCallback = null ) |
- Parameters
-
Title | $source | |
Title | $target | |
string[] | $pagesToMove | |
| array<string,bool> | $pagesToRedirect |
User | $performer | |
string | $moveReason | |
?callable | $progressCallback | |
Definition at line 225 of file TranslatableBundleMover.php.
◆ shouldLeaveRedirect()
static MediaWiki\Extension\Translate\PageTranslation\TranslatableBundleMover::shouldLeaveRedirect |
( |
string | $pageType, |
|
|
bool | $leaveRedirect ) |
|
static |
The documentation for this class was generated from the following file: