MediaWiki
REL1_39
ContentModelCanBeUsedOnHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Content\Hook
;
4
5
use
Title
;
6
14
interface
ContentModelCanBeUsedOnHook
{
29
public
function
onContentModelCanBeUsedOn
( $contentModel,
$title
, &$ok );
30
}
Title
Represents a title within MediaWiki.
Definition
Title.php:49
MediaWiki\Content\Hook\ContentModelCanBeUsedOnHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ContentModelCanBeUsedOnHook.php:14
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 Mon Dec 16 2024 06:34:51 for MediaWiki by
1.10.0