MediaWiki
master
RollbackPageFactory.php
Go to the documentation of this file.
1
<?php
21
namespace
MediaWiki\Page
;
22
23
use
MediaWiki\Permissions\Authority
;
24
use
MediaWiki\User\UserIdentity
;
25
33
interface
RollbackPageFactory
{
34
43
public
function
newRollbackPage
(
44
PageIdentity
$page,
45
Authority
$performer,
46
UserIdentity
$byUser
47
):
RollbackPage
;
48
}
MediaWiki\Page\RollbackPage
Backend logic for performing a page rollback action.
Definition
RollbackPage.php:57
MediaWiki\Page\PageIdentity
Interface for objects (potentially) representing an editable wiki page.
Definition
PageIdentity.php:67
MediaWiki\Page\RollbackPageFactory
Service for page rollback actions.
Definition
RollbackPageFactory.php:33
MediaWiki\Page\RollbackPageFactory\newRollbackPage
newRollbackPage(PageIdentity $page, Authority $performer, UserIdentity $byUser)
Create a new command instance for page rollback.
MediaWiki\Permissions\Authority
This interface represents the authority associated with the current execution context,...
Definition
Authority.php:37
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition
UserIdentity.php:39
MediaWiki\Page
Definition
ContentModelChangeFactory.php:22
includes
page
RollbackPageFactory.php
Generated on Sat Nov 2 2024 17:30:48 for MediaWiki by
1.10.0