Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\PageTranslation\PageMoveCollection Class Reference

Collection of pages potentially affected by a page move operation. More...

Public Member Functions

 __construct (PageMoveOperation $translatablePage, array $translationPagePairs, array $unitPagesPairs, array $subpagesPairs, array $translatableSubpages)
 
 getTranslatablePage ()
 
 getTranslationPagesPair ()
 
 getUnitPagesPair ()
 
 getSubpagesPair ()
 
 getTranslatableSubpages ()
 
 getTranslationPages ()
 
 getUnitPages ()
 
 getSubpages ()
 
 getListOfPages ()
 

Detailed Description

Collection of pages potentially affected by a page move operation.

Author
Abijeet Patro @license GPL-2.0-or-later
Since
2021.09

Definition at line 14 of file PageMoveCollection.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\PageTranslation\PageMoveCollection::__construct ( PageMoveOperation $translatablePage,
array $translationPagePairs,
array $unitPagesPairs,
array $subpagesPairs,
array $translatableSubpages )
Parameters
PageMoveOperation$translatablePageTranslatable page
PageMoveOperation[]$translationPagePairsTranslation pages
PageMoveOperation[]$unitPagesPairsTranslation unit pages
PageMoveOperation[]$subpagesPairsNon translatable sub pages
array$translatableSubpagesTranslatable sub pages

Definition at line 35 of file PageMoveCollection.php.

Member Function Documentation

◆ getListOfPages()

MediaWiki\Extension\Translate\PageTranslation\PageMoveCollection::getListOfPages ( )
Returns
string[]

Definition at line 94 of file PageMoveCollection.php.

◆ getSubpages()

MediaWiki\Extension\Translate\PageTranslation\PageMoveCollection::getSubpages ( )
Returns
Title[]

Definition at line 89 of file PageMoveCollection.php.

◆ getSubpagesPair()

MediaWiki\Extension\Translate\PageTranslation\PageMoveCollection::getSubpagesPair ( )
Returns
PageMoveOperation[]

Definition at line 69 of file PageMoveCollection.php.

◆ getTranslatablePage()

MediaWiki\Extension\Translate\PageTranslation\PageMoveCollection::getTranslatablePage ( )

Definition at line 54 of file PageMoveCollection.php.

◆ getTranslatableSubpages()

MediaWiki\Extension\Translate\PageTranslation\PageMoveCollection::getTranslatableSubpages ( )
Returns
Title[]

Definition at line 74 of file PageMoveCollection.php.

◆ getTranslationPages()

MediaWiki\Extension\Translate\PageTranslation\PageMoveCollection::getTranslationPages ( )
Returns
Title[]

Definition at line 79 of file PageMoveCollection.php.

◆ getTranslationPagesPair()

MediaWiki\Extension\Translate\PageTranslation\PageMoveCollection::getTranslationPagesPair ( )
Returns
PageMoveOperation[]

Definition at line 59 of file PageMoveCollection.php.

◆ getUnitPages()

MediaWiki\Extension\Translate\PageTranslation\PageMoveCollection::getUnitPages ( )
Returns
Title[]

Definition at line 84 of file PageMoveCollection.php.

◆ getUnitPagesPair()

MediaWiki\Extension\Translate\PageTranslation\PageMoveCollection::getUnitPagesPair ( )
Returns
PageMoveOperation[]

Definition at line 64 of file PageMoveCollection.php.


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