MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onWikiPageFactory ( $title, &$page) | |
Use this hook to override WikiPage class used for a title. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "WikiPageFactory" to register handlers implementing this interface.
Definition at line 15 of file WikiPageFactoryHook.php.
MediaWiki\Page\Hook\WikiPageFactoryHook::onWikiPageFactory | ( | $title, | |
& | $page ) |
Use this hook to override WikiPage class used for a title.
Title | $title | Title of the page |
WikiPage | null | &$page | Variable to set the created WikiPage to |
Implemented in MediaWiki\HookContainer\HookRunner.