MediaWiki
REL1_37
ContentModelChangeFactory.php
Go to the documentation of this file.
1
<?php
2
23
namespace
MediaWiki\Page
;
24
25
use
ContentModelChange
;
26
use
MediaWiki\Permissions\Authority
;
27
use
WikiPage
;
28
32
interface
ContentModelChangeFactory
{
33
40
public
function
newContentModelChange
(
41
Authority
$performer,
42
WikiPage
$wikipage,
43
string
$newContentModel
44
):
ContentModelChange
;
45
}
ContentModelChange
Helper class to change the content model of pages.
Definition
ContentModelChange.php:22
WikiPage
Class representing a MediaWiki article and history.
Definition
WikiPage.php:60
MediaWiki\Page\ContentModelChangeFactory
Definition
ContentModelChangeFactory.php:32
MediaWiki\Page\ContentModelChangeFactory\newContentModelChange
newContentModelChange(Authority $performer, WikiPage $wikipage, string $newContentModel)
MediaWiki\Permissions\Authority
This interface represents the authority associated the current execution context, such as a web reque...
Definition
Authority.php:37
MediaWiki\Page
Definition
ContentModelChangeFactory.php:23
includes
page
ContentModelChangeFactory.php
Generated on Fri Apr 5 2024 23:40:36 for MediaWiki by
1.9.8