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 () | |
execute ( $parameters) | |
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 477 of file PageTranslationSpecialPage.php.
MediaWiki\Extension\Translate\PageTranslation\PageTranslationSpecialPage::doesWrites | ( | ) |
Definition at line 105 of file PageTranslationSpecialPage.php.
MediaWiki\Extension\Translate\PageTranslation\PageTranslationSpecialPage::execute | ( | $parameters | ) |
Definition at line 113 of file PageTranslationSpecialPage.php.
|
protected |
Definition at line 109 of file PageTranslationSpecialPage.php.
MediaWiki\Extension\Translate\PageTranslation\PageTranslationSpecialPage::listPages | ( | ) |
Definition at line 552 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 451 of file PageTranslationSpecialPage.php.
|
protected |
Definition at line 271 of file PageTranslationSpecialPage.php.