Manual:Hooks/ContentModelCanBeUsedOn

Details
This hook is called by to determine whether a certain content model can be used on a certain title or not. This is checked, for example, on or when.


 * $modelId: The ID, e. g.  or.
 * $title: The where the content model may or may not be used.
 * &$ok: Whether the content model can be used on the title or not. Initially ; when you set this to, you probably also want to to skip the remaining hooks.