MediaWiki REL1_39
ContentModelCanBeUsedOnHook.php
Go to the documentation of this file.
1<?php
2
4
5use Title;
6
29 public function onContentModelCanBeUsedOn( $contentModel, $title, &$ok );
30}
Represents a title within MediaWiki.
Definition Title.php:49
This is a hook handler interface, see docs/Hooks.md.
onContentModelCanBeUsedOn( $contentModel, $title, &$ok)
Use this hook to determine whether a content model can be used on a given page.