Contains the core logic to validate and move translatable bundles. More...
Public Member Functions | |
__construct (MovePageFactory $movePageFactory, JobQueueGroup $jobQueue, LinkBatchFactory $linkBatchFactory, TranslatableBundleFactory $bundleFactory, SubpageListBuilder $subpageBuilder, ?int $pageMoveLimit) | |
getPageMoveCollection (Title $source, ?Title $target, User $user, string $reason, bool $moveSubPages, bool $moveTalkPages) | |
moveAsynchronously (Title $source, Title $target, bool $moveSubPages, User $user, string $summary, bool $moveTalkPages) | |
moveSynchronously (Title $source, Title $target, array $pagesToMove, User $performer, string $summary, callable $progressCallback=null) | |
disablePageMoveLimit () | |
enablePageMoveLimit () | |
Contains the core logic to validate and move translatable bundles.
Definition at line 28 of file TranslatableBundleMover.php.
MediaWiki\Extension\Translate\PageTranslation\TranslatableBundleMover::__construct | ( | MovePageFactory | $movePageFactory, |
JobQueueGroup | $jobQueue, | ||
LinkBatchFactory | $linkBatchFactory, | ||
TranslatableBundleFactory | $bundleFactory, | ||
SubpageListBuilder | $subpageBuilder, | ||
?int | $pageMoveLimit ) |
Definition at line 46 of file TranslatableBundleMover.php.
MediaWiki\Extension\Translate\PageTranslation\TranslatableBundleMover::disablePageMoveLimit | ( | ) |
Definition at line 221 of file TranslatableBundleMover.php.
MediaWiki\Extension\Translate\PageTranslation\TranslatableBundleMover::enablePageMoveLimit | ( | ) |
Definition at line 225 of file TranslatableBundleMover.php.
MediaWiki\Extension\Translate\PageTranslation\TranslatableBundleMover::getPageMoveCollection | ( | Title | $source, |
?Title | $target, | ||
User | $user, | ||
string | $reason, | ||
bool | $moveSubPages, | ||
bool | $moveTalkPages ) |
Definition at line 62 of file TranslatableBundleMover.php.
MediaWiki\Extension\Translate\PageTranslation\TranslatableBundleMover::moveAsynchronously | ( | Title | $source, |
Title | $target, | ||
bool | $moveSubPages, | ||
User | $user, | ||
string | $summary, | ||
bool | $moveTalkPages ) |
Definition at line 175 of file TranslatableBundleMover.php.
MediaWiki\Extension\Translate\PageTranslation\TranslatableBundleMover::moveSynchronously | ( | Title | $source, |
Title | $target, | ||
array | $pagesToMove, | ||
User | $performer, | ||
string | $summary, | ||
callable | $progressCallback = null ) |
Title | $source | |
Title | $target | |
string[] | $pagesToMove | |
User | $performer | |
string | $summary |
Definition at line 203 of file TranslatableBundleMover.php.