Collection of pages potentially affected by a page move operation. More...
Public Member Functions | |
__construct (PageMoveOperation $translatablePage, array $translationPagePairs, array $unitPagesPairs, array $subpagesPairs, array $nonMovableSubpages, array $translatableSubpages) | |
getTranslatablePage () | |
getTranslationPagesPair () | |
getUnitPagesPair () | |
getSubpagesPair () | |
getTranslatableSubpages () | |
getTranslationPages () | |
getUnitPages () | |
getSubpages () | |
getListOfPages () | |
getListOfPagesToRedirect () | |
getNonMovableSubpages () | |
Get list of subpages which cannot be moved for various reasons (e.g. | |
Collection of pages potentially affected by a page move operation.
Definition at line 15 of file PageMoveCollection.php.
MediaWiki\Extension\Translate\PageTranslation\PageMoveCollection::__construct | ( | PageMoveOperation | $translatablePage, |
array | $translationPagePairs, | ||
array | $unitPagesPairs, | ||
array | $subpagesPairs, | ||
array | $nonMovableSubpages, | ||
array | $translatableSubpages ) |
PageMoveOperation | $translatablePage | |
PageMoveOperation[] | $translationPagePairs | Translation pages |
PageMoveOperation[] | $unitPagesPairs | Translation unit pages |
PageMoveOperation[] | $subpagesPairs | Non-translatable subpages |
array<string,Status> | $nonMovableSubpages Subpages that are not movable | |
Title[] | $translatableSubpages |
Definition at line 38 of file PageMoveCollection.php.
MediaWiki\Extension\Translate\PageTranslation\PageMoveCollection::getListOfPages | ( | ) |
Definition at line 100 of file PageMoveCollection.php.
MediaWiki\Extension\Translate\PageTranslation\PageMoveCollection::getListOfPagesToRedirect | ( | ) |
Definition at line 115 of file PageMoveCollection.php.
MediaWiki\Extension\Translate\PageTranslation\PageMoveCollection::getNonMovableSubpages | ( | ) |
Get list of subpages which cannot be moved for various reasons (e.g.
the target page already exists). Those do not include translatable subpages which cannot be moved because of current limitation.
Definition at line 134 of file PageMoveCollection.php.
MediaWiki\Extension\Translate\PageTranslation\PageMoveCollection::getSubpages | ( | ) |
Definition at line 95 of file PageMoveCollection.php.
MediaWiki\Extension\Translate\PageTranslation\PageMoveCollection::getSubpagesPair | ( | ) |
Definition at line 75 of file PageMoveCollection.php.
MediaWiki\Extension\Translate\PageTranslation\PageMoveCollection::getTranslatablePage | ( | ) |
Definition at line 60 of file PageMoveCollection.php.
MediaWiki\Extension\Translate\PageTranslation\PageMoveCollection::getTranslatableSubpages | ( | ) |
Definition at line 80 of file PageMoveCollection.php.
MediaWiki\Extension\Translate\PageTranslation\PageMoveCollection::getTranslationPages | ( | ) |
Definition at line 85 of file PageMoveCollection.php.
MediaWiki\Extension\Translate\PageTranslation\PageMoveCollection::getTranslationPagesPair | ( | ) |
Definition at line 65 of file PageMoveCollection.php.
MediaWiki\Extension\Translate\PageTranslation\PageMoveCollection::getUnitPages | ( | ) |
Definition at line 90 of file PageMoveCollection.php.
MediaWiki\Extension\Translate\PageTranslation\PageMoveCollection::getUnitPagesPair | ( | ) |
Definition at line 70 of file PageMoveCollection.php.