MediaWiki  master
MediaWiki\Hook\TitleExistsHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\TitleExistsHook:

Public Member Functions

 onTitleExists ( $title, &$exists)
 This hook is called when determining whether a page exists at a given title. More...
 

Detailed Description

Stable to implement.

Definition at line 11 of file TitleExistsHook.php.

Member Function Documentation

◆ onTitleExists()

MediaWiki\Hook\TitleExistsHook::onTitleExists (   $title,
$exists 
)

This hook is called when determining whether a page exists at a given title.

Since
1.35
Parameters
Title$titleTitle being tested
bool&$existsWhether the title exists
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: