MediaWiki  master
RollbackPageFactory.php
Go to the documentation of this file.
1 <?php
21 namespace MediaWiki\Page;
22 
25 
34 
43  public function newRollbackPage(
44  PageIdentity $page,
45  Authority $performer,
46  UserIdentity $byUser
47  ): RollbackPage;
48 }
Backend logic for performing a page rollback action.
Interface for objects (potentially) representing an editable wiki page.
Service for page rollback actions.
newRollbackPage(PageIdentity $page, Authority $performer, UserIdentity $byUser)
Create a new command instance for page rollback.
This interface represents the authority associated the current execution context, such as a web reque...
Definition: Authority.php:37
Interface for objects representing user identity.