MediaWiki
REL1_39
ContentModelChangeFactory.php
Go to the documentation of this file.
1
<?php
22
namespace
MediaWiki\Page
;
23
24
use
ContentModelChange
;
25
use
MediaWiki\Permissions\Authority
;
26
use
WikiPage
;
27
35
interface
ContentModelChangeFactory
{
36
43
public
function
newContentModelChange
(
44
Authority
$performer,
45
WikiPage
$wikipage,
46
string
$newContentModel
47
):
ContentModelChange
;
48
}
ContentModelChange
Backend logic for changing the content model of a page.
Definition
ContentModelChange.php:22
WikiPage
Base representation for an editable wiki page.
Definition
WikiPage.php:62
MediaWiki\Page\ContentModelChangeFactory
Service for changing the content model of wiki pages.
Definition
ContentModelChangeFactory.php:35
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:22
includes
page
ContentModelChangeFactory.php
Generated on Thu Nov 21 2024 05:23:34 for MediaWiki by
1.10.0