MediaWiki  master
TitleExistsHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use Title;
6 
14 interface TitleExistsHook {
24  public function onTitleExists( $title, &$exists );
25 }
Represents a title within MediaWiki.
Definition: Title.php:48
This is a hook handler interface, see docs/Hooks.md.
onTitleExists( $title, &$exists)
This hook is called when determining whether a page exists at a given title.