MediaWiki
REL1_35
ContentModelChangeFactory.php
Go to the documentation of this file.
1
<?php
2
23
namespace
MediaWiki\Page
;
24
25
use
ContentModelChange
;
26
use
User
;
27
use
WikiPage
;
28
32
interface
ContentModelChangeFactory
{
33
40
public
function
newContentModelChange
(
41
User
$user,
42
WikiPage
$wikipage,
43
string
$newContentModel
44
) :
ContentModelChange
;
45
}
ContentModelChange
Helper class to change the content model of pages.
Definition
ContentModelChange.php:19
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition
User.php:60
WikiPage
Class representing a MediaWiki article and history.
Definition
WikiPage.php:51
MediaWiki\Page\ContentModelChangeFactory
Definition
ContentModelChangeFactory.php:32
MediaWiki\Page\ContentModelChangeFactory\newContentModelChange
newContentModelChange(User $user, WikiPage $wikipage, string $newContentModel)
MediaWiki\Page
Definition
ContentModelChangeFactory.php:23
includes
page
ContentModelChangeFactory.php
Generated on Sat Apr 6 2024 00:07:33 for MediaWiki by
1.9.8