MediaWiki REL1_35
MediaWiki\SpecialPage\Hook\SpecialPageBeforeExecuteHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\SpecialPage\Hook\SpecialPageBeforeExecuteHook:

Public Member Functions

 onSpecialPageBeforeExecute ( $special, $subPage)
 This hook is called before SpecialPage::execute.
 

Detailed Description

Stable to implement.

Definition at line 11 of file SpecialPageBeforeExecuteHook.php.

Member Function Documentation

◆ onSpecialPageBeforeExecute()

MediaWiki\SpecialPage\Hook\SpecialPageBeforeExecuteHook::onSpecialPageBeforeExecute (   $special,
  $subPage 
)

This hook is called before SpecialPage::execute.

Since
1.35
Parameters
SpecialPage$special
string | null$subPageSubpage string, or null if no subpage was specified
Returns
bool|void True or no return value to continue or false to prevent execution

Implemented in MediaWiki\HookContainer\HookRunner.


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