MediaWiki
REL1_40
ContentModelCanBeUsedOnHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Content\Hook
;
4
5
use
MediaWiki\Title\Title
;
6
14
interface
ContentModelCanBeUsedOnHook
{
29
public
function
onContentModelCanBeUsedOn
( $contentModel,
$title
, &$ok );
30
}
MediaWiki\Title\Title
Represents a title within MediaWiki.
Definition
Title.php:82
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:39
includes
content
Hook
ContentModelCanBeUsedOnHook.php
Generated on Thu Jun 27 2024 14:02:32 for MediaWiki by
1.10.0