Replacement for Special:Movepage to allow renaming a translatable bundle and all pages associated with it. More...
Public Member Functions | |
__construct (ObjectFactory $objectFactory, PermissionManager $permissionManager, TranslatableBundleMover $bundleMover, TranslatableBundleFactory $bundleFactory, $movePageSpec) | |
doesWrites () | |
execute ( $par) | |
@inheritDoc | |
showForm (TranslatableBundle $bundle) | |
The query form. | |
Protected Member Functions | |
getGroupName () | |
doBasicChecks () | |
Do the basic checks whether moving is possible and whether the input looks anywhere near sane. | |
checkToken () | |
Checks token to protect against CSRF. | |
showErrors (SplObjectStorage $errors) | |
Pretty-print the list of errors. | |
showConfirmation (PageMoveCollection $pageCollection, TranslatableBundle $bundle) | |
The second form, which still allows changing some things. | |
Replacement for Special:Movepage to allow renaming a translatable bundle and all pages associated with it.
Definition at line 33 of file MoveTranslatableBundleSpecialPage.php.
MediaWiki\Extension\Translate\PageTranslation\MoveTranslatableBundleSpecialPage::__construct | ( | ObjectFactory | $objectFactory, |
PermissionManager | $permissionManager, | ||
TranslatableBundleMover | $bundleMover, | ||
TranslatableBundleFactory | $bundleFactory, | ||
$movePageSpec ) |
Definition at line 57 of file MoveTranslatableBundleSpecialPage.php.
|
protected |
Checks token to protect against CSRF.
Definition at line 188 of file MoveTranslatableBundleSpecialPage.php.
|
protected |
Do the basic checks whether moving is possible and whether the input looks anywhere near sane.
PermissionsError|ErrorPageError|ReadOnlyError|ThrottledError |
Definition at line 164 of file MoveTranslatableBundleSpecialPage.php.
MediaWiki\Extension\Translate\PageTranslation\MoveTranslatableBundleSpecialPage::doesWrites | ( | ) |
Definition at line 72 of file MoveTranslatableBundleSpecialPage.php.
MediaWiki\Extension\Translate\PageTranslation\MoveTranslatableBundleSpecialPage::execute | ( | $par | ) |
@inheritDoc
Definition at line 81 of file MoveTranslatableBundleSpecialPage.php.
|
protected |
Definition at line 76 of file MoveTranslatableBundleSpecialPage.php.
|
protected |
The second form, which still allows changing some things.
Lists all the action which would take place.
Definition at line 240 of file MoveTranslatableBundleSpecialPage.php.
|
protected |
Pretty-print the list of errors.
Definition at line 193 of file MoveTranslatableBundleSpecialPage.php.
MediaWiki\Extension\Translate\PageTranslation\MoveTranslatableBundleSpecialPage::showForm | ( | TranslatableBundle | $bundle | ) |
The query form.
Definition at line 216 of file MoveTranslatableBundleSpecialPage.php.