MediaWiki  master
ContentModelChangeFactory.php
Go to the documentation of this file.
1 <?php
2 
23 namespace MediaWiki\Page;
24 
26 use User;
27 use WikiPage;
28 
33 
40  public function newContentModelChange(
41  User $user,
42  WikiPage $wikipage,
43  string $newContentModel
45 }
Page\ContentModelChangeFactory\newContentModelChange
newContentModelChange(User $user, WikiPage $wikipage, string $newContentModel)
WikiPage
Class representing a MediaWiki article and history.
Definition: WikiPage.php:54
Page\ContentModelChangeFactory
Definition: ContentModelChangeFactory.php:32
MediaWiki\Page
Definition: ContentModelChangeFactory.php:23
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:56
ContentModelChange
Helper class to change the content model of pages.
Definition: ContentModelChange.php:19