MediaWiki REL1_40
MediaWiki\Page\ContentModelChangeFactory Interface Reference

Service for changing the content model of wiki pages. More...

Inherited by MediaWiki\Page\PageCommandFactory.

Public Member Functions

 newContentModelChange (Authority $performer, WikiPage $wikipage, string $newContentModel)
 

Detailed Description

Service for changing the content model of wiki pages.

Default implementation is MediaWiki\Page\PageCommandFactory.

Since
1.35

Definition at line 35 of file ContentModelChangeFactory.php.

Member Function Documentation

◆ newContentModelChange()

MediaWiki\Page\ContentModelChangeFactory::newContentModelChange ( Authority $performer,
WikiPage $wikipage,
string $newContentModel )
Parameters
Authority$performer
WikiPage$wikipage
string$newContentModel
Returns
ContentModelChange

Implemented in MediaWiki\Page\PageCommandFactory.


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