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 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\TitleExistsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: TitleExistsHook.php:14
$title
$title
Definition: testCompression.php:38
Title
Represents a title within MediaWiki.
Definition: Title.php:41
MediaWiki\Hook\TitleExistsHook\onTitleExists
onTitleExists( $title, &$exists)
This hook is called when determining whether a page exists at a given title.