MediaWiki  master
ContentModelChangeFactory.php
Go to the documentation of this file.
1 <?php
22 namespace MediaWiki\Page;
23 
26 use WikiPage;
27 
36 
43  public function newContentModelChange(
44  Authority $performer,
45  WikiPage $wikipage,
46  string $newContentModel
48 }
Backend logic for changing the content model of a page.
Base representation for an editable wiki page.
Definition: WikiPage.php:75
Service for changing the content model of wiki pages.
newContentModelChange(Authority $performer, WikiPage $wikipage, string $newContentModel)
This interface represents the authority associated the current execution context, such as a web reque...
Definition: Authority.php:37