MediaWiki
REL1_35
ContentModelCanBeUsedOnHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Content\Hook
;
4
5
use
Title
;
6
11
interface
ContentModelCanBeUsedOnHook
{
26
public
function
onContentModelCanBeUsedOn
( $contentModel,
$title
, &$ok );
27
}
Title
Represents a title within MediaWiki.
Definition
Title.php:42
MediaWiki\Content\Hook\ContentModelCanBeUsedOnHook
Stable to implement.
Definition
ContentModelCanBeUsedOnHook.php:11
MediaWiki\Content\Hook\ContentModelCanBeUsedOnHook\onContentModelCanBeUsedOn
onContentModelCanBeUsedOn( $contentModel, $title, &$ok)
Use this hook to determine whether a content model can be used on a given page.
MediaWiki\Content\Hook
Definition
ContentAlterParserOutputHook.php:3
$title
$title
Definition
testCompression.php:38
includes
content
Hook
ContentModelCanBeUsedOnHook.php
Generated on Sat Apr 6 2024 00:07:02 for MediaWiki by
1.9.8