MediaWiki master
ContentModelCanBeUsedOnHook.php
Go to the documentation of this file.
1<?php
2
4
6
29 public function onContentModelCanBeUsedOn( $contentModel, $title, &$ok );
30}
Represents a title within MediaWiki.
Definition Title.php:78
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.