A special page for marking revisions of pages for translation. More...
Public Member Functions | |
| __construct (LanguageFactory $languageFactory, LinkBatchFactory $linkBatchFactory, JobQueueGroup $jobQueueGroup, PermissionManager $permissionManager, TranslatablePageMarker $translatablePageMarker, TranslatablePageParser $translatablePageParser, MessageGroupMetadata $messageGroupMetadata, TranslatablePageView $translatablePageView, TranslatablePageStateStore $translatablePageStateStore, FormatterFactory $formatterFactory) | |
| doesWrites () | |
| @inheritDoc | |
| execute ( $parameters) | |
| @inheritDoc | |
| listPages () | |
Static Public Member Functions | |
| static | loadPagesFromDB () |
| TODO: Move this function to SyncTranslatableBundleStatusMaintenanceScript once we start using the translatable_bundles table for fetching the translatabale pages. | |
| static | buildPageArray (IResultWrapper $res) |
| TODO: Move this function to SyncTranslatableBundleStatusMaintenanceScript once we start using the translatable_bundles table for fetching the translatabale pages. | |
Protected Member Functions | |
| getGroupName () | |
| onActionMark (Title $title, ?int $revision) | |
A special page for marking revisions of pages for translation.
This page is the main tool for translation administrators in the wiki. It will list all pages in their various states and provides actions that are suitable for given translatable page.
Definition at line 62 of file PageTranslationSpecialPage.php.
| MediaWiki\Extension\Translate\PageTranslation\PageTranslationSpecialPage::__construct | ( | LanguageFactory | $languageFactory, |
| LinkBatchFactory | $linkBatchFactory, | ||
| JobQueueGroup | $jobQueueGroup, | ||
| PermissionManager | $permissionManager, | ||
| TranslatablePageMarker | $translatablePageMarker, | ||
| TranslatablePageParser | $translatablePageParser, | ||
| MessageGroupMetadata | $messageGroupMetadata, | ||
| TranslatablePageView | $translatablePageView, | ||
| TranslatablePageStateStore | $translatablePageStateStore, | ||
| FormatterFactory | $formatterFactory ) |
Definition at line 80 of file PageTranslationSpecialPage.php.
|
static |
TODO: Move this function to SyncTranslatableBundleStatusMaintenanceScript once we start using the translatable_bundles table for fetching the translatabale pages.
Definition at line 499 of file PageTranslationSpecialPage.php.
| MediaWiki\Extension\Translate\PageTranslation\PageTranslationSpecialPage::doesWrites | ( | ) |
@inheritDoc
Definition at line 106 of file PageTranslationSpecialPage.php.
| MediaWiki\Extension\Translate\PageTranslation\PageTranslationSpecialPage::execute | ( | $parameters | ) |
@inheritDoc
Definition at line 115 of file PageTranslationSpecialPage.php.
|
protected |
Definition at line 110 of file PageTranslationSpecialPage.php.
| MediaWiki\Extension\Translate\PageTranslation\PageTranslationSpecialPage::listPages | ( | ) |
Definition at line 578 of file PageTranslationSpecialPage.php.
|
static |
TODO: Move this function to SyncTranslatableBundleStatusMaintenanceScript once we start using the translatable_bundles table for fetching the translatabale pages.
Definition at line 473 of file PageTranslationSpecialPage.php.
|
protected |
Definition at line 290 of file PageTranslationSpecialPage.php.