MediaWiki REL1_40
MediaWiki\Page\RollbackPageFactory Interface Reference

Service for page rollback actions. More...

Inherited by MediaWiki\Page\PageCommandFactory.

Public Member Functions

 newRollbackPage (PageIdentity $page, Authority $performer, UserIdentity $byUser)
 Create a new command instance for page rollback.
 

Detailed Description

Service for page rollback actions.

Default implementation is MediaWiki\Page\PageCommandFactory.

Since
1.37

Definition at line 33 of file RollbackPageFactory.php.

Member Function Documentation

◆ newRollbackPage()

MediaWiki\Page\RollbackPageFactory::newRollbackPage ( PageIdentity $page,
Authority $performer,
UserIdentity $byUser )

Create a new command instance for page rollback.

Parameters
PageIdentity$page
Authority$performer
UserIdentity$byUser
Returns
RollbackPage

Implemented in MediaWiki\Page\PageCommandFactory.


The documentation for this interface was generated from the following file: