MediaWiki
REL1_37
ContentHandlerDefaultModelForHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Revision\Hook
;
4
5
use
Title
;
6
14
interface
ContentHandlerDefaultModelForHook
{
25
public
function
onContentHandlerDefaultModelFor
(
$title
, &$model );
26
}
Title
Represents a title within MediaWiki.
Definition
Title.php:48
MediaWiki\Revision\Hook\ContentHandlerDefaultModelForHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ContentHandlerDefaultModelForHook.php:14
MediaWiki\Revision\Hook\ContentHandlerDefaultModelForHook\onContentHandlerDefaultModelFor
onContentHandlerDefaultModelFor( $title, &$model)
This hook is called when the default content model is determined for a given title.
MediaWiki\Revision\Hook
Definition
ContentHandlerDefaultModelForHook.php:3
$title
$title
Definition
testCompression.php:38
includes
Revision
Hook
ContentHandlerDefaultModelForHook.php
Generated on Fri Apr 5 2024 23:40:48 for MediaWiki by
1.9.8