MediaWiki REL1_40
MediaWiki\Hook\WebRequestPathInfoRouterHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onWebRequestPathInfoRouter ( $router)
 This hook is called while building the MediaWiki\Request\PathRouter to parse the REQUEST_URI.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "WebRequestPathInfoRouter" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 12 of file WebRequestPathInfoRouterHook.php.

Member Function Documentation

◆ onWebRequestPathInfoRouter()

MediaWiki\Hook\WebRequestPathInfoRouterHook::onWebRequestPathInfoRouter ( $router)

This hook is called while building the MediaWiki\Request\PathRouter to parse the REQUEST_URI.

Parameters
\\MediaWiki\\Request\\PathRouter$router
Returns
bool|void True or no return value to continue or false to abort
Since
1.35

Implemented in MediaWiki\HookContainer\HookRunner.


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