MediaWiki  master
ContentModelChangeFactory.php
Go to the documentation of this file.
1 <?php
2 
23 namespace MediaWiki\Page;
24 
27 use WikiPage;
28 
33 
40  public function newContentModelChange(
41  Authority $performer,
42  WikiPage $wikipage,
43  string $newContentModel
45 }
WikiPage
Class representing a MediaWiki article and history.
Definition: WikiPage.php:61
MediaWiki\Permissions\Authority
Definition: Authority.php:30
Page\ContentModelChangeFactory
Definition: ContentModelChangeFactory.php:32
MediaWiki\Page
Definition: ContentModelChangeFactory.php:23
Page\ContentModelChangeFactory\newContentModelChange
newContentModelChange(Authority $performer, WikiPage $wikipage, string $newContentModel)
ContentModelChange
Helper class to change the content model of pages.
Definition: ContentModelChange.php:22