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) | |
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 57 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 ) |
Definition at line 74 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 453 of file PageTranslationSpecialPage.php.
MediaWiki\Extension\Translate\PageTranslation\PageTranslationSpecialPage::doesWrites | ( | ) |
Definition at line 97 of file PageTranslationSpecialPage.php.
MediaWiki\Extension\Translate\PageTranslation\PageTranslationSpecialPage::execute | ( | $parameters | ) |
Definition at line 105 of file PageTranslationSpecialPage.php.
|
protected |
Definition at line 101 of file PageTranslationSpecialPage.php.
MediaWiki\Extension\Translate\PageTranslation\PageTranslationSpecialPage::listPages | ( | ) |
Definition at line 528 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 427 of file PageTranslationSpecialPage.php.
|
protected |
Definition at line 255 of file PageTranslationSpecialPage.php.