MediaWiki  master
WikiPageFactoryHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Page\Hook;
4 
5 use Title;
6 use WikiPage;
7 
25  public function onWikiPageFactory( $title, &$page );
26 }
Represents a title within MediaWiki.
Definition: Title.php:49
Base representation for an editable wiki page.
Definition: WikiPage.php:62
This is a hook handler interface, see docs/Hooks.md.
onWikiPageFactory( $title, &$page)
Use this hook to override WikiPage class used for a title.