MediaWiki
master
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
34
interface
ContentModelChangeFactory
{
35
42
public
function
newContentModelChange
(
43
Authority
$performer,
44
PageIdentity
$page,
45
string
$newContentModel
46
):
ContentModelChange
;
47
}
ContentModelChange
Backend logic for changing the content model of a page.
Definition
ContentModelChange.php:28
MediaWiki\Page\ContentModelChangeFactory
Service for changing the content model of wiki pages.
Definition
ContentModelChangeFactory.php:34
MediaWiki\Page\ContentModelChangeFactory\newContentModelChange
newContentModelChange(Authority $performer, PageIdentity $page, string $newContentModel)
MediaWiki\Page\PageIdentity
Interface for objects (potentially) representing an editable wiki page.
Definition
PageIdentity.php:67
MediaWiki\Permissions\Authority
This interface represents the authority associated with the current execution context,...
Definition
Authority.php:37
MediaWiki\Page
Definition
ContentModelChangeFactory.php:22
includes
page
ContentModelChangeFactory.php
Generated on Fri Jul 26 2024 22:24:07 for MediaWiki by
1.10.0